summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-11-29 01:10:04 +0000
committertv <tv@pkgsrc.org>2004-11-29 01:10:04 +0000
commitb23b15cc968c3f424c05d3eadfee4196ff2b4dd8 (patch)
tree1294ff0645535e131109c96fdac596c8ef69b979 /databases/openldap
parent719a0194345bbe27e3b8ae9b7398a3c65f66b077 (diff)
downloadpkgsrc-b23b15cc968c3f424c05d3eadfee4196ff2b4dd8.tar.gz
In case db4 is disallowed by bdb.buildlink3.mk, causing BDB_TYPE to be
set to "none", skip bdb altogether.
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/options.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/databases/openldap/options.mk b/databases/openldap/options.mk
index 2c7c2bcb71e..e5b77d5cd0b 100644
--- a/databases/openldap/options.mk
+++ b/databases/openldap/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2004/11/15 17:54:49 jlam Exp $
+# $NetBSD: options.mk,v 1.8 2004/11/29 01:10:04 tv Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.openldap
PKG_SUPPORTED_OPTIONS= bdb dynamic kerberos sasl slp
@@ -12,6 +12,9 @@ PKG_DEFAULT_OPTIONS+= bdb
.if !empty(PKG_OPTIONS:Mbdb)
BDB_ACCEPTED= db4 # db3?
. include "../../mk/bdb.buildlink3.mk"
+.endif
+BDB_TYPE?= none
+.if ${BDB_TYPE} != "none"
CONFIGURE_ARGS+= --enable-bdb --enable-hdb
. if !empty(PKG_OPTIONS:Mdynamic)
CONFIGURE_ARGS+= --enable-hdb=mod