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
commitb5b7b84c227dbb665d97ce5967b41a05a75e4f14 (patch)
tree979316d06e7bde8c65c71eef9cca3ff32cb8bbb0 /security
parent3afdeb510fa16849297332ae33d0b1fefc62e8f4 (diff)
downloadpkgsrc-b5b7b84c227dbb665d97ce5967b41a05a75e4f14.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