summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-21 12:40:17 +0000
committerjlam <jlam>2004-01-21 12:40:17 +0000
commitc437fb0ebb8c3caf6f80c34cb1648c6e776e00ce (patch)
treef3efcc8c4192a54f00d7b007e056c8763e4157f8 /security
parent424aee6086abbfd5ebb4d60b258ef59dea1e26b8 (diff)
downloadpkgsrc-c437fb0ebb8c3caf6f80c34cb1648c6e776e00ce.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-saslauthd/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/security/cyrus-saslauthd/Makefile b/security/cyrus-saslauthd/Makefile
index e26ab315d0f..8c216145ba5 100644
--- a/security/cyrus-saslauthd/Makefile
+++ b/security/cyrus-saslauthd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/01/13 09:03:15 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2004/01/21 12:40:17 jlam Exp $
DISTNAME= cyrus-sasl-2.1.17
PKGNAME= ${DISTNAME:S/sasl/saslauthd/}
@@ -49,10 +49,11 @@ PLIST_SRC+= ${PKGDIR}/PLIST.ldap
.endif
.if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])
-CONFIGURE_ARGS+= --enable-gssapi=/usr # GSSAPI
-. if exists(/usr/include/krb5/krb5.h)
-CPPFLAGS+= -I/usr/include/krb5
-. endif
+. include "../../mk/krb5.buildlink3.mk"
+CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE}
+CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}}
+GSSIMPL.heimdal= heimdal
+GSSIMPL.mit-krb5= mit
.endif
USE_PKGINSTALL= yes