summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-saslauthd/options.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/cyrus-saslauthd/options.mk b/security/cyrus-saslauthd/options.mk
index a9b81cb44c1..78caccd0be6 100644
--- a/security/cyrus-saslauthd/options.mk
+++ b/security/cyrus-saslauthd/options.mk
@@ -1,7 +1,8 @@
-# $NetBSD: options.mk,v 1.8 2006/04/13 21:35:24 wiz Exp $
+# $NetBSD: options.mk,v 1.9 2006/04/19 17:50:52 tv Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cyrus-saslauthd
PKG_SUPPORTED_OPTIONS= pam kerberos ldap gssapi
+
.include "../../mk/bsd.options.mk"
###
@@ -10,6 +11,8 @@ PKG_SUPPORTED_OPTIONS= pam kerberos ldap gssapi
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --with-pam=${PAMBASE:Q}
+.else
+CONFIGURE_ARGS+= --without-pam
.endif
###
@@ -22,6 +25,7 @@ BUILDLINK_INCDIRS.cyrus-sasl= include/sasl
CONFIGURE_ARGS+= --with-ldap=${BUILDLINK_PREFIX.openldap}
PLIST_SUBST+= LDAP=
.else
+CONFIGURE_ARGS+= --without-ldap
PLIST_SUBST+= LDAP="@comment "
.endif