summaryrefslogtreecommitdiff
path: root/security/sudo/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-22 08:45:56 +0000
committerjlam <jlam>2004-03-22 08:45:56 +0000
commit26c176a3e59b7622932ff81ebde67bab0b75e701 (patch)
tree8de9cbd4cd5e61b734944a67d558b7c489566604 /security/sudo/Makefile
parent926ec1cf3dd8079bec089a724e9945946ea30fcf (diff)
downloadpkgsrc-26c176a3e59b7622932ff81ebde67bab0b75e701.tar.gz
Fix building this package with Kerberos 5 support -- the misdeclared
krb5_mcc_ops variable is "const" in both Heimdal and in MIT krb5.
Diffstat (limited to 'security/sudo/Makefile')
-rw-r--r--security/sudo/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 070d1daf15f..53aa519060c 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2004/01/05 11:37:13 jlam Exp $
+# $NetBSD: Makefile,v 1.63 2004/03/22 08:45:56 jlam Exp $
#
DISTNAME= sudo-1.6.7p5
@@ -33,11 +33,11 @@ CONFIGURE_ARGS+= --without-skey
.endif
.if defined(KERBEROS)
-PKG_USE_KERBEROS= # defined
-CONFIGURE_ARGS+= --with-kerb4 --with-kerb5
-CPPFLAGS+= -I/usr/include/krb5
+CONFIGURE_ARGS+= --without-kerb4
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --with-kerb5
.else
-CONFIGURE_ARGS+= --without-kerb4 --without-kerb5
+CONFIGURE_ARGS+= --without-kerb5
.endif
CONFIGURE_ARGS+= --with-nbsdops --disable-path-info