summaryrefslogtreecommitdiff
path: root/security/cyrus-saslauthd
diff options
context:
space:
mode:
authortv <tv>2006-04-19 17:50:52 +0000
committertv <tv>2006-04-19 17:50:52 +0000
commit216511f60f34cc580240c3b6f761eb4a352e3b27 (patch)
treecc5b263d63e178ee8806194220667daa557df567 /security/cyrus-saslauthd
parent9b01028f2aedc2726f233eaaafa9ff0337664e64 (diff)
downloadpkgsrc-216511f60f34cc580240c3b6f761eb4a352e3b27.tar.gz
Use --without-{pam,ldap} if the options are *off*.
Diffstat (limited to 'security/cyrus-saslauthd')
-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