summaryrefslogtreecommitdiff
path: root/databases/openldap
diff options
context:
space:
mode:
Diffstat (limited to 'databases/openldap')
-rw-r--r--databases/openldap/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/databases/openldap/Makefile b/databases/openldap/Makefile
index b7640200806..9bf0a6d02c4 100644
--- a/databases/openldap/Makefile
+++ b/databases/openldap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 1999/09/10 10:41:39 hwr Exp $
+# $NetBSD: Makefile,v 1.12 1999/09/14 02:32:21 kim Exp $
#
DISTNAME= openldap-1.2.7
@@ -23,14 +23,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-dns --enable-cldap \
--enable-wrappers --enable-passwd --enable-shell
-BUILD_DEFS+= USE_KERBEROS4
-
.include "../../mk/bsd.prefs.mk"
-.if !defined(USE_KERBEROS4)
-CONFIGURE_ARGS+=--without-kerberos
+.if defined(KERBEROS) && ${KERBEROS} == 4
+USE_KERBEROS= yes
+CONFIGURE_ARGS+=--with-kerberos
.else
-RESTRICTED= uses Kerberos encryption code
+CONFIGURE_ARGS+=--without-kerberos
.endif
.include "../../mk/bsd.pkg.mk"