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
commit408019e351634ed1c8b86f72f95b337d2ef27efb (patch)
tree979316d06e7bde8c65c71eef9cca3ff32cb8bbb0 /security
parentdbf9cce46d13bd116dd84238fa7b2cae2f618a10 (diff)
downloadpkgsrc-408019e351634ed1c8b86f72f95b337d2ef27efb.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