summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-04-20 22:12:50 +0000
committerhans <hans@pkgsrc.org>2011-04-20 22:12:50 +0000
commit25a2916e4ec6e463c175027e961469d380e619f2 (patch)
tree405ab1bf78cb0f70fa5e2a148f02cb74bc1b3979
parent7f807791d0b42dc15e9c6afeb8fdb2bd658c354e (diff)
downloadpkgsrc-25a2916e4ec6e463c175027e961469d380e619f2.tar.gz
Fix linking against db4.
-rw-r--r--databases/clisp-bdb/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/databases/clisp-bdb/Makefile b/databases/clisp-bdb/Makefile
index 9b149d7e93c..d801c6267cb 100644
--- a/databases/clisp-bdb/Makefile
+++ b/databases/clisp-bdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2011/04/20 18:31:36 hans Exp $
+# $NetBSD: Makefile,v 1.2 2011/04/20 22:12:50 hans Exp $
#
CLISP_MODULE= berkeley-db
@@ -11,10 +11,15 @@ MAINTAINER= hans@netbsd.org
HOMEPAGE= http://clisp.cons.org/
COMMENT= CLISP Berkeley DB module
+SUBST_CLASSES+= db4-libname
+SUBST_STAGE.db4-libname= pre-configure
+SUBST_FILES.db4-libname= modules/berkeley-db/configure
+SUBST_SED.db4-libname= -e "/names_next_round='db '/s/db/db4/"
+
+
MAKE_JOBS_SAFE= no
.include "../../lang/clisp/module.mk"
-BUILDLINK_TRANSFORM+= l:db:db4
.include "../../databases/db4/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"