summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2010-06-06 17:41:34 +0000
committeradam <adam@pkgsrc.org>2010-06-06 17:41:34 +0000
commit62c09f5b95463673e1a7954c670a0d2486b24123 (patch)
treeecb6fa35b189071a3935766a01e5946562d0a6af /textproc
parent12f5c7c338a8e5093e1890a5da6d91e696d9fc2e (diff)
downloadpkgsrc-62c09f5b95463673e1a7954c670a0d2486b24123.tar.gz
Fix building with different db libs
Diffstat (limited to 'textproc')
-rw-r--r--textproc/redland/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/textproc/redland/Makefile b/textproc/redland/Makefile
index a066fb311ae..e9b8ba9995b 100644
--- a/textproc/redland/Makefile
+++ b/textproc/redland/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2010/01/29 13:09:55 adam Exp $
+# $NetBSD: Makefile,v 1.11 2010/06/06 17:41:34 adam Exp $
DISTNAME= redland-1.0.10
CATEGORIES= textproc
@@ -15,10 +15,12 @@ USE_TOOLS+= gmake perl pkg-config
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
+.include "../../mk/bdb.buildlink3.mk"
+
.if empty(BDB_LIBS)
CONFIGURE_ARGS+= --with-bdb-dbname=c
.else
-CONFIGURE_ARGS+= --with-bdb-dbname=${BDB_LIBS:Q}
+CONFIGURE_ARGS+= --with-bdb-dbname=${BDB_TYPE}
.endif
CONFIGURE_ARGS+= --with-bdb-lib=${BDBBASE}/lib
CONFIGURE_ARGS+= --with-bdb-include=${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}}
@@ -41,5 +43,4 @@ post-install:
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/raptor/buildlink3.mk"
.include "../../textproc/rasqal/buildlink3.mk"
-.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"