summaryrefslogtreecommitdiff
path: root/security/sudo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r--security/sudo/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index ff431c8e7a0..0a0cf992524 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 1999/09/13 13:30:45 kim Exp $
+# $NetBSD: Makefile,v 1.18 1999/09/14 02:32:26 kim Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
@@ -15,8 +15,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
.include "../../mk/bsd.prefs.mk"
-BUILD_DEFS+= USE_KERBEROS4 USE_KERBEROS5
-
GNU_CONFIGURE= yes
.if ${OPSYS} == "NetBSD"
@@ -25,12 +23,18 @@ CONFIGURE_ARGS+=--with-skey
CONFIGURE_ARGS+=--without-skey
.endif
-.if defined(USE_KERBEROS4)
+.if defined(KERBEROS) && ${KERBEROS} == 4
+USE_KERBEROS= yes
CONFIGURE_ARGS+=--with-kerb4
+.else
+CONFIGURE_ARGS+=--without-kerb4
.endif
-.if defined(USE_KERBEROS5)
+.if defined(KERBEROS) && ${KERBEROS} == 5
+USE_KERBEROS= yes
CONFIGURE_ARGS+=--with-kerb5
+.else
+CONFIGURE_ARGS+=--without-kerb5
.endif
CONFIGURE_ARGS+=--with-C2 --with-nbsdops --disable-path-info