From e1aaa019a47227fcfabc7600c4aa35e0a728b70f Mon Sep 17 00:00:00 2001 From: cube Date: Wed, 21 Apr 2004 21:09:31 +0000 Subject: 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. --- news/nntpcache/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'news') 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 -- cgit v1.2.3