summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-12-20 17:23:11 +0000
committertonio <tonio@pkgsrc.org>2005-12-20 17:23:11 +0000
commit333892c4509f58f9861e7eef2051c58688c9e9b1 (patch)
treebbea2a336d514e197426309c89ecf31477f72d4a /mail
parentda9d0602e22fd6e716eb921325a8c77758deb83f (diff)
downloadpkgsrc-333892c4509f58f9861e7eef2051c58688c9e9b1.tar.gz
include databases/db4/buildlink3.mk directly, since this is the only accepted bdb
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/options.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/mutt-devel/options.mk b/mail/mutt-devel/options.mk
index 1c662836fc1..a85f5c5ee4b 100644
--- a/mail/mutt-devel/options.mk
+++ b/mail/mutt-devel/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.11 2005/12/05 23:55:11 rillig Exp $
+# $NetBSD: options.mk,v 1.12 2005/12/20 17:23:11 tonio Exp $
# Global and legacy options
@@ -44,17 +44,16 @@ CONFIGURE_ARGS+= --without-ssl
### Header cache
###
.if !empty(PKG_OPTIONS:Mmutt-hcache)
-BDB_ACCEPTED= db4
-. include "../../mk/bdb.buildlink3.mk"
+. include "../../databases/db4/buildlink3.mk"
CONFIGURE_ARGS+= --enable-hcache
CONFIGURE_ARGS+= --without-gdbm
#
# BDB_INCLUDE_DIR_ and BDB_LIB_DIR don't have to be particularly accurate
# since the real -I and -L flags are added by buildlink already.
#
-CONFIGURE_ENV+= BDB_INCLUDE_DIR=${BDBBASE}/include
-CONFIGURE_ENV+= BDB_LIB_DIR=${BDBBASE}/lib
-CONFIGURE_ENV+= BDB_LIB=${BDB_LIBS:S/^-l//}
+CONFIGURE_ENV+= BDB_INCLUDE_DIR=${BUILDLINK_PREFIX.db4}/include
+CONFIGURE_ENV+= BDB_LIB_DIR=${BUILDLINK_PREFIX.db4}/lib
+CONFIGURE_ENV+= BDB_LIB=${BUILDLINK_LDADD.db4:S/^-l//}
.else
CONFIGURE_ARGS+= --disable-hcache
.endif