summaryrefslogtreecommitdiff
path: root/databases/db4/Makefile
diff options
context:
space:
mode:
authortv <tv>2005-11-04 18:47:52 +0000
committertv <tv>2005-11-04 18:47:52 +0000
commit6b6d9361bd46881d5169430a4fc7a42f3ddcda2d (patch)
tree6c3e062a0174f6317051c3a2a1f28301628ab37b /databases/db4/Makefile
parentf4b9de30430645abb203daaa8e63b4b21d63ca69 (diff)
downloadpkgsrc-6b6d9361bd46881d5169430a4fc7a42f3ddcda2d.tar.gz
Use the pkgsrc-installed libtool, not the throwaway in-tree libtool, to
choose between link commands for shared or static linking. Should fix shlib build and install on Interix.
Diffstat (limited to 'databases/db4/Makefile')
-rw-r--r--databases/db4/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index a30e85d5cf7..84d396e9bd1 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2005/10/25 06:26:48 jlam Exp $
+# $NetBSD: Makefile,v 1.40 2005/11/04 18:47:52 tv Exp $
DISTNAME= db-4.3.29
PKGNAME= ${DISTNAME:S/db/db4/}
@@ -21,7 +21,6 @@ CONFIGURE_SCRIPT= ../dist/configure
CONFIGURE_ARGS+= --enable-cxx
CONFIGURE_ARGS+= --enable-rpc
-CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --enable-compat185
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/db4
CONFIGURE_ARGS+= --program-transform-name=s,db_,db4_,
@@ -30,6 +29,10 @@ CONFIGURE_ARGS+= --program-transform-name=s,db_,db4_,
# needed for this package the following does no harm on other platform.
CONFIGURE_ENV+= F77=${FALSE}
+# Along with a hack in patch-ab, this forces shlib detection via
+# the pkgsrc-supplied libtool only.
+CONFIGURE_ENV+= LIBTOOL_PROG="${LIBTOOL} ${LIBTOOL_FLAGS}"
+
OPSYSVARS+= LIBSO_LIBS
LIBSO_LIBS.Interix+= -lrpclib
LIBS.Interix+= -lrpclib # needed for in-tree programs, too