summaryrefslogtreecommitdiff
path: root/security/cyrus-saslauthd
diff options
context:
space:
mode:
authorcube <cube@pkgsrc.org>2004-04-21 21:09:31 +0000
committercube <cube@pkgsrc.org>2004-04-21 21:09:31 +0000
commite9b89de147389d1f3dfcae0471be331a9b8ad0cc (patch)
treefc2c1dd3e4c87b5b0db0fb1e10cf3ab400c0d2e6 /security/cyrus-saslauthd
parentc1c8bece07ce92c46b4bbf02e35e654c4f8e0410 (diff)
downloadpkgsrc-e9b89de147389d1f3dfcae0471be331a9b8ad0cc.tar.gz
Drop localized *_USE_LDAP definitions and consistently use USE_OPENLDAP
instead. As announced on tech-pkg. Most notably affected are Postfix, sendmail, Samba and cyrus-saslauthd. Be sure to update your mk.conf accordingly.
Diffstat (limited to 'security/cyrus-saslauthd')
-rw-r--r--security/cyrus-saslauthd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/cyrus-saslauthd/Makefile b/security/cyrus-saslauthd/Makefile
index 938466241b9..c458233c132 100644
--- a/security/cyrus-saslauthd/Makefile
+++ b/security/cyrus-saslauthd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/03/31 06:49:41 jlam Exp $
+# $NetBSD: Makefile,v 1.13 2004/04/21 21:09:33 cube Exp $
DISTNAME= cyrus-sasl-2.1.18
PKGNAME= ${DISTNAME:S/sasl/saslauthd/}
@@ -27,7 +27,7 @@ PLIST_SRC= ${PKGDIR}/PLIST
ALL_TARGET= all saslcache testsaslauthd
-BUILD_DEFS+= USE_PAM USE_LDAP SASL_USE_GSSAPI
+BUILD_DEFS+= USE_PAM USE_OPENLDAP SASL_USE_GSSAPI
SASLSOCKETDIR?= /var/run/saslauthd
BUILD_DEFS+= SASLSOCKETDIR
@@ -39,7 +39,7 @@ CONFIGURE_ARGS+= --with-saslauthd="${SASLSOCKETDIR}"
CONFIGURE_ARGS+= --with-pam=${BUILDLINK_PREFIX.pam}
.endif
-.if defined(USE_LDAP)
+.if defined(USE_OPENLDAP) && !empty(USE_OPENLDAP:M[Yy][Ee][Ss])
. include "../../databases/openldap/buildlink3.mk"
. include "../../security/cyrus-sasl2/buildlink3.mk"
. include "../../security/openssl/buildlink3.mk"
@@ -81,7 +81,7 @@ post-install:
for f in saslcache testsaslauthd; do \
${INSTALL_PROGRAM} ${WRKSRC}/$$f ${PREFIX}/bin/$$f; \
done
-.if defined(USE_LDAP)
+.if defined(USE_OPENLDAP) && !empty(USE_OPENLDAP:M[Yy][Ee][Ss])
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cyrus-saslauthd
${INSTALL_DATA} ${WRKSRC}/LDAP_SASLAUTHD \
${PREFIX}/share/doc/cyrus-saslauthd