From 4845b5d789c21136ca6b3826b78f67543a2433b2 Mon Sep 17 00:00:00 2001 From: scrappy Date: Sun, 15 Nov 1998 07:50:11 +0000 Subject: 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 --- devel/mico/Makefile | 6 +++--- devel/mico/files/patch-ak | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'devel/mico') 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 # -# $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 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; -- cgit