pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/cyrus-saslauthd Use --without-{pam,ldap} if t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bfe149604f2
branches:  trunk
changeset: 511706:2bfe149604f2
user:      tv <tv%pkgsrc.org@localhost>
date:      Wed Apr 19 17:50:52 2006 +0000

description:
Use --without-{pam,ldap} if the options are *off*.

diffstat:

 security/cyrus-saslauthd/options.mk |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r a539cbdf6417 -r 2bfe149604f2 security/cyrus-saslauthd/options.mk
--- a/security/cyrus-saslauthd/options.mk       Wed Apr 19 17:21:35 2006 +0000
+++ b/security/cyrus-saslauthd/options.mk       Wed Apr 19 17:50:52 2006 +0000
@@ -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 @@
 .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 @@
 CONFIGURE_ARGS+=       --with-ldap=${BUILDLINK_PREFIX.openldap}
 PLIST_SUBST+=          LDAP=
 .else
+CONFIGURE_ARGS+=       --without-ldap
 PLIST_SUBST+=          LDAP="@comment "
 .endif
 



Home | Main Index | Thread Index | Old Index