summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-21 12:12:13 +0000
committerjlam <jlam>2004-01-21 12:12:13 +0000
commit34cbd54a27027658a5c8fd4df8e81f4d9555f955 (patch)
tree979316d06e7bde8c65c71eef9cca3ff32cb8bbb0 /security
parent8d7287e152f8cd1e6e802dde381da118182f9571 (diff)
downloadpkgsrc-34cbd54a27027658a5c8fd4df8e81f4d9555f955.tar.gz
Convert to use krb5.buildlink3.mk to get Kerberos 5 support. Tested to
build and install properly using Heimdal.
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index b7e89045612..15d9bd7d750 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2004/01/09 20:35:03 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2004/01/21 12:12:13 jlam Exp $
.include "Makefile.common"
@@ -26,12 +26,11 @@ CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
.endif
.if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])
-CONFIGURE_ARGS+= --enable-gssapi=/usr # GSSAPI
-PLIST_SRC+= ${PKGDIR}/PLIST.krb5
-. if exists(/usr/include/krb5/krb5.h)
-CPPFLAGS+= -I/usr/include/krb5
-. endif
+BUILDLINK_DEPENDS.heimdal= heimdal>=0.6
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE} # GSSAPI
LIBS+= -lcrypto
+PLIST_SRC+= ${PKGDIR}/PLIST.krb5
.endif
PLIST_SRC+= ${PKGDIR}/PLIST.plugins