summaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorassar <assar@pkgsrc.org>2001-03-04 03:26:50 +0000
committerassar <assar@pkgsrc.org>2001-03-04 03:26:50 +0000
commit55da32de67858dd68e54badc3323ada1928b4e0d (patch)
tree091f46327abf4b32aaf37549d798280b2d450c56 /security/sudo
parent912af0eecffc40a808025dc4206a786152c6c9b5 (diff)
downloadpkgsrc-55da32de67858dd68e54badc3323ada1928b4e0d.tar.gz
turn KERBEROS into a binary switch
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 5a607782fa9..10872442332 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2001/02/23 08:11:35 itojun Exp $
+# $NetBSD: Makefile,v 1.33 2001/03/04 03:26:52 assar Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
@@ -26,18 +26,11 @@ CONFIGURE_ARGS+= --with-skey
CONFIGURE_ARGS+= --without-skey
.endif
-.if defined(KERBEROS) && ${KERBEROS} == 4
+.if defined(KERBEROS)
USE_KERBEROS= # defined
-CONFIGURE_ARGS+= --with-kerb4
+CONFIGURE_ARGS+= --with-kerb4 --with-kerb5
.else
-CONFIGURE_ARGS+= --without-kerb4
-.endif
-
-.if defined(KERBEROS) && ${KERBEROS} == 5
-USE_KERBEROS= # defined
-CONFIGURE_ARGS+= --with-kerb5
-.else
-CONFIGURE_ARGS+= --without-kerb5
+CONFIGURE_ARGS+= --without-kerb4 --without-kerb5
.endif
CONFIGURE_ARGS+= --with-nbsdops --disable-path-info