diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2005-01-12 01:50:15 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2005-01-12 01:50:15 +0000 |
commit | 2eb2f69a3c775a3782d9ba5c32a541c31b550c1a (patch) | |
tree | 15ca235b7fd9026006d05c2b424de3389e4276d2 /databases | |
parent | c4b6d3cd0e121c068250831b704301b130ebb3f4 (diff) | |
download | pkgsrc-2eb2f69a3c775a3782d9ba5c32a541c31b550c1a.tar.gz |
If dynamic and bdb options are used, the hdb module is built, but not
if bdb is disabled, so only build it when the bdb option has been
enabled.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/openldap/PLIST | 4 | ||||
-rw-r--r-- | databases/openldap/options.mk | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/databases/openldap/PLIST b/databases/openldap/PLIST index 65aebbf2e46..3e2c96afdd0 100644 --- a/databases/openldap/PLIST +++ b/databases/openldap/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.19 2004/11/08 18:42:09 tv Exp $ +@comment $NetBSD: PLIST,v 1.20 2005/01/12 01:50:15 xtraeme Exp $ bin/ldapadd bin/ldapcompare bin/ldapdelete @@ -19,7 +19,7 @@ lib/liblber.la lib/libldap.la lib/libldap_r.la ${DYNAMIC_MOD}lib/openldap/back_dnssrv.la -${DYNAMIC_MOD}lib/openldap/back_hdb.la +${DYNAMIC_MOD}${HDB_MODULE}lib/openldap/back_hdb.la ${DYNAMIC_MOD}lib/openldap/back_ldap.la ${DYNAMIC_MOD}lib/openldap/back_ldbm.la ${DYNAMIC_MOD}lib/openldap/back_meta.la diff --git a/databases/openldap/options.mk b/databases/openldap/options.mk index e5b77d5cd0b..51fb3580ccd 100644 --- a/databases/openldap/options.mk +++ b/databases/openldap/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.8 2004/11/29 01:10:04 tv Exp $ +# $NetBSD: options.mk,v 1.9 2005/01/12 01:50:15 xtraeme Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.openldap PKG_SUPPORTED_OPTIONS= bdb dynamic kerberos sasl slp @@ -28,6 +28,11 @@ CONFIGURE_ARGS+= --disable-bdb --disable-hdb ### specified, then link the backend modules statically into slapd. ### .if !empty(PKG_OPTIONS:Mdynamic) +. if !empty(PKG_OPTIONS:Mbdb) +PLIST_SUBST+= HDB_MODULE= +. else +PLIST_SUBST+= HDB_MODULE="@comment " +. endif . include "../../devel/libltdl/buildlink3.mk" CONFIGURE_ARGS+= --enable-modules PLIST_SUBST+= DYNAMIC_MOD= |