aboutsummaryrefslogtreecommitdiffstats
path: root/security/cyrus-sasl2-saslauthd
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2013-10-14 02:35:41 +0800
committerume <ume@FreeBSD.org>2013-10-14 02:35:41 +0800
commit39dd3005eea53a47b4bc24f9b926b40ced43cef1 (patch)
tree1f38ca92613b994e0438d8ede468651e352e9b3c /security/cyrus-sasl2-saslauthd
parent923d2051764c43bdc74e07d723d2dacf4208b596 (diff)
downloadfreebsd-ports-gnome-39dd3005eea53a47b4bc24f9b926b40ced43cef1.tar.gz
freebsd-ports-gnome-39dd3005eea53a47b4bc24f9b926b40ced43cef1.tar.zst
freebsd-ports-gnome-39dd3005eea53a47b4bc24f9b926b40ced43cef1.zip
use opt_USE knob.
Spotted by: sunpoet
Diffstat (limited to 'security/cyrus-sasl2-saslauthd')
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 080c3bbca853..3c3a861a3198 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -48,8 +48,10 @@ BDB_CONFIGURE_ON= --with-dblib=berkeley \
--with-bdb-libdir=${BDB_LIB_DIR} \
--with-bdb-incdir=${BDB_INCLUDE_DIR} \
--with-bdb=${BDB_LIB_NAME}
+BDB_USE= BDB=yes
BDB_CONFIGURE_OFF= --with-dblib=ndbm
OPENLDAP_DESC= Use OpenLDAP
+OPENLDAP_USE= OPENLDAP=yes
OPENLDAP_CONFIGURE_ON= --with-ldap=${LOCALBASE}
HTTPFORM_DESC= Enable HTTP form authentication
HTTPFORM_CONFIGURE_ENABLE=httpform
@@ -57,7 +59,6 @@ HTTPFORM_CONFIGURE_ENABLE=httpform
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MBDB}
-USE_BDB= yes
INVALID_BDB_VER=2
.endif
@@ -65,7 +66,6 @@ INVALID_BDB_VER=2
.if defined(WITH_OPENLDAP_VER)
WANT_OPENLDAP_VER= ${WITH_OPENLDAP_VER}
.endif
-USE_OPENLDAP= yes
.endif
.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so)