summaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorkim <kim>1999-09-13 13:17:40 +0000
committerkim <kim>1999-09-13 13:17:40 +0000
commita49f00a585cb9b37d2fbe7ff5af0d008e9f7fec8 (patch)
tree14506d240ae931073e0388fa027b621f7efe8fab /security/sudo
parentad7fa4631f9f2a878a3ed333e0f0f2d1a03c9404 (diff)
downloadpkgsrc-a49f00a585cb9b37d2fbe7ff5af0d008e9f7fec8.tar.gz
Use Kerberos IV where appropriate.
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 43ae9946efd..e96220b27de 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 1999/08/31 19:26:40 jlam Exp $
+# $NetBSD: Makefile,v 1.15 1999/09/13 13:17:40 kim Exp $
# FreeBSD Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp
#
@@ -15,14 +15,19 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/autoconf:../../devel/autoconf
.include "../../mk/bsd.prefs.mk"
+GNU_CONFIGURE= yes
+
.if ${OPSYS} == "NetBSD"
-SKEY_OPTION= --with-skey
+CONFIGURE_ARGS+=--with-skey
.elif ${OPSYS} == "SunOS"
-SKEY_OPTION= --without-skey
+CONFIGURE_ARGS+=--without-skey
.endif
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-C2 ${SKEY_OPTION} --with-nbsdops --disable-path-info
+.ifdef ${USE_KERBEROS4}
+CONFIGURE_ARGS+=--with-kerb4
+.endif
+
+CONFIGURE_ARGS+=--with-C2 --with-nbsdops --disable-path-info
pre-configure:
cd ${WRKSRC}; ${LOCALBASE}/bin/autoconf