summaryrefslogtreecommitdiff
path: root/news/nntpcache
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
commite1aaa019a47227fcfabc7600c4aa35e0a728b70f (patch)
treefc2c1dd3e4c87b5b0db0fb1e10cf3ab400c0d2e6 /news/nntpcache
parent536a13d16bd4fa80763bb6455dbb8c2a09ebf65d (diff)
downloadpkgsrc-e1aaa019a47227fcfabc7600c4aa35e0a728b70f.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 'news/nntpcache')
-rw-r--r--news/nntpcache/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index fe8c9b4ea2a..e1a95a9715e 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/01/24 14:51:52 grant Exp $
+# $NetBSD: Makefile,v 1.18 2004/04/21 21:09:33 cube Exp $
# FreeBSD Id: Makefile,v 1.11 1998/02/01 03:04:11 itojun Exp
#
@@ -13,12 +13,10 @@ COMMENT= NNTP multi-server caching daemon
LICENSE= fee-based-commercial-use
-# enable ldap support?
-NNTP_USE_LDAP?= no
# enable pgp signed nocem support?
NNTP_USE_PGP?= no
-.if ${NNTP_USE_LDAP} == yes
+.if defined(USE_OPENLDAP) && !empty(USE_OPENLDAP:M[Yy][Ee][Ss])
DEPENDS+= openldap-[0-9]*:../../databases/openldap
.endif
@@ -26,7 +24,7 @@ DEPENDS+= openldap-[0-9]*:../../databases/openldap
DEPENDS+= pgp-2.*:../../security/pgp2
.endif
-BUILD_DEFS+= NNTP_USE_LDAP NNTP_USE_PGP
+BUILD_DEFS+= USE_OPENLDAP NNTP_USE_PGP
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --localstatedir=/var/spool