diff options
author | scrappy <scrappy@FreeBSD.org> | 1998-11-15 15:50:11 +0800 |
---|---|---|
committer | scrappy <scrappy@FreeBSD.org> | 1998-11-15 15:50:11 +0800 |
commit | 4845b5d789c21136ca6b3826b78f67543a2433b2 (patch) | |
tree | de50fe4b737afd567c12b431963c619b39799a97 /devel/mico | |
parent | adce3e9b249a816696b69e8fb4fdf4636a34008b (diff) | |
download | freebsd-ports-graphics-4845b5d789c21136ca6b3826b78f67543a2433b2.tar.gz freebsd-ports-graphics-4845b5d789c21136ca6b3826b78f67543a2433b2.tar.zst freebsd-ports-graphics-4845b5d789c21136ca6b3826b78f67543a2433b2.zip |
Fix 'ldconfig' as indicated in handbook
Get rid of --disable-shared flag for configure
Improve patch-ak such that the shared library compile options as listed in
handbook are included
Diffstat (limited to 'devel/mico')
-rw-r--r-- | devel/mico/Makefile | 6 | ||||
-rw-r--r-- | devel/mico/files/patch-ak | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/devel/mico/Makefile b/devel/mico/Makefile index 3a8ae5232ae..d92bad10de1 100644 --- a/devel/mico/Makefile +++ b/devel/mico/Makefile @@ -3,7 +3,7 @@ # Date created: 11 July 1998 # Whom: Marc G. Fournier <scrappy@freebsd.org> # -# $Id: Makefile,v 1.22 1998/11/14 17:50:16 jseger Exp $ +# $Id: Makefile,v 1.23 1998/11/15 07:08:20 scrappy Exp $ # DISTNAME= mico-2.2.3 @@ -38,7 +38,7 @@ USE_GMAKE= yes WRKSRC= ${WRKDIR}/mico CONFIGURE_ARGS= --with-qt --with-gtk --with-tcl \ - --disable-optimize --disable-shared --disable-mini-stl + --disable-optimize --disable-mini-stl MAN1= idl.1 imr.1 nsadmin.1 MAN5= micorc.5 @@ -48,6 +48,6 @@ pre-configure: cd ${WRKSRC}; autoconf post-install: - ${LDCONFIG} -m ${PREFIX}/lib + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m .include <bsd.port.post.mk> diff --git a/devel/mico/files/patch-ak b/devel/mico/files/patch-ak index 26238b45b59..260ff705379 100644 --- a/devel/mico/files/patch-ak +++ b/devel/mico/files/patch-ak @@ -1,5 +1,5 @@ ---- configure.in.orig Sun Nov 15 03:01:35 1998 -+++ configure.in Sun Nov 15 02:52:12 1998 +--- configure.in.orig Wed Oct 21 10:29:16 1998 ++++ configure.in Sun Nov 15 03:40:45 1998 @@ -102,7 +102,7 @@ # extra dirs # @@ -9,15 +9,17 @@ # # misc -@@ -234,7 +234,10 @@ +@@ -234,7 +234,12 @@ CONF_OBJ_SIZE_LIMIT=yes ;; *bsd*) - CONF_SOEXT=so.1.0 + if [ "$PORTOBJFORMAT" = "elf" ]; then ++ CONF_SHARED_CC="$CXX -shared -Wl,-soname,\$@" + CONF_SOEXE=so.1 + else + CONF_SOEXT=so.1.0 + fi ;; *cygwin32*) + have_cdk=yes; |