aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>1998-11-15 07:50:11 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>1998-11-15 07:50:11 +0000
commitcb90c669a31cb0905dd5dae59fd13684ad9aa0b0 (patch)
tree45f0f00b84286d9e6ff457486e6859279ef59392 /devel
parentf47b7d01748237be06414b4ad354a5568c5e3c2e (diff)
downloadports-cb90c669a31cb0905dd5dae59fd13684ad9aa0b0.tar.gz
ports-cb90c669a31cb0905dd5dae59fd13684ad9aa0b0.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
Notes
Notes: svn path=/head/; revision=14529
Diffstat (limited to 'devel')
-rw-r--r--devel/mico/Makefile6
-rw-r--r--devel/mico/files/patch-ak8
2 files changed, 8 insertions, 6 deletions
diff --git a/devel/mico/Makefile b/devel/mico/Makefile
index 3a8ae5232ae3..d92bad10de1e 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 26238b45b59f..260ff705379d 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;