diff options
author | cube <cube@pkgsrc.org> | 2004-04-21 21:09:31 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-04-21 21:09:31 +0000 |
commit | e9b89de147389d1f3dfcae0471be331a9b8ad0cc (patch) | |
tree | fc2c1dd3e4c87b5b0db0fb1e10cf3ab400c0d2e6 /net/samba | |
parent | c1c8bece07ce92c46b4bbf02e35e654c4f8e0410 (diff) | |
download | pkgsrc-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 'net/samba')
-rw-r--r-- | net/samba/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index ee1e38b068f..c0e0e64d77e 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.120 2004/04/15 16:26:31 jmmv Exp $ +# $NetBSD: Makefile,v 1.121 2004/04/21 21:09:32 cube Exp $ DISTNAME= samba-3.0.2a PKGREVISION= 1 @@ -68,7 +68,7 @@ CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline} .if defined(SAMBA_WITH_ADS) && !empty(SAMBA_WITH_ADS:M[yY][eE][sS]) . include "../../mk/krb5.buildlink3.mk" -SAMBA_USE_LDAP= yes +SAMBA_USE_LDAP= # defined CONFIGURE_ARGS+= --with-ads CONFIGURE_ARGS+= --with-krb5=${KRB5BASE} .else @@ -93,7 +93,7 @@ PLIST_SRC+= ${PKGDIR}/PLIST.pam .endif BUILD_DEFS+= USE_PAM -.if defined(SAMBA_USE_LDAP) && !empty(SAMBA_USE_LDAP:M[yY][eE][sS]) +.if defined(SAMBA_USE_LDAP) || (defined(USE_OPENLDAP) && !empty(USE_OPENLDAP:M[yY][eE][sS])) . include "../../databases/openldap/buildlink3.mk" CONFIGURE_ARGS+= --with-ldap . if defined(SAMBA_USE_LDAP_COMPAT) && \ @@ -103,6 +103,7 @@ CONFIGURE_ARGS+= --with-ldapsam .else CONFIGURE_ARGS+= --without-ldap .endif +BUILD_DEFS+= USE_OPENLDAP BUILD_DEFS+= SAMBA_USE_LDAP BUILD_DEFS+= SAMBA_USE_LDAP_COMPAT |