summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-21 12:12:13 +0000
committerjlam <jlam@pkgsrc.org>2004-01-21 12:12:13 +0000
commit87c5c4b3bd99b822fe19248ebdf9098d31ec5b51 (patch)
tree979316d06e7bde8c65c71eef9cca3ff32cb8bbb0 /security
parent2326a8d74e8f1add8642a3ac35ffe5acf642d351 (diff)
downloadpkgsrc-87c5c4b3bd99b822fe19248ebdf9098d31ec5b51.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