diff options
Diffstat (limited to 'databases/openldap')
-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= |