summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-21 14:01:06 +0000
committerjlam <jlam@pkgsrc.org>2004-01-21 14:01:06 +0000
commit3601a7551c10ef61a34b86c5776409331ff43ec6 (patch)
treee9de64c7069ab92a6c6aa0fd7191a37ffb8c3c62 /security
parentab10d9f7488ab55be42908b9b3e781628daf8972 (diff)
downloadpkgsrc-3601a7551c10ef61a34b86c5776409331ff43ec6.tar.gz
Recognize KERBEROS as a flag that can cause this package to be built using
Kerberos for GSSAPI support.
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2/Makefile5
-rw-r--r--security/cyrus-saslauthd/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index dc57f409d94..9ff782ab60c 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2004/01/21 12:14:57 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2004/01/21 14:01:06 jlam Exp $
.include "Makefile.common"
@@ -25,7 +25,8 @@ BUILD_DEFS+= SASL_USE_GSSAPI
CONFIGURE_ARGS+= --with-devrandom=/dev/urandom
.endif
-.if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])
+.if defined(KERBEROS) || \
+ (defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS]))
. include "../../mk/krb5.buildlink3.mk"
CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE} # GSSAPI
LIBS+= -lcrypto
diff --git a/security/cyrus-saslauthd/Makefile b/security/cyrus-saslauthd/Makefile
index 8c216145ba5..30ab706fcb4 100644
--- a/security/cyrus-saslauthd/Makefile
+++ b/security/cyrus-saslauthd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/01/21 12:40:17 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2004/01/21 14:01:06 jlam Exp $
DISTNAME= cyrus-sasl-2.1.17
PKGNAME= ${DISTNAME:S/sasl/saslauthd/}
@@ -48,7 +48,8 @@ CONFIGURE_ARGS+= --with-openssl=${SSLBASE}
PLIST_SRC+= ${PKGDIR}/PLIST.ldap
.endif
-.if defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS])
+.if defined(KERBEROS) || \
+ (defined(SASL_USE_GSSAPI) && !empty(SASL_USE_GSSAPI:M[yY][eE][sS]))
. include "../../mk/krb5.buildlink3.mk"
CONFIGURE_ARGS+= --enable-gssapi=${KRB5BASE}
CONFIGURE_ARGS+= --with-gss_impl=${GSSIMPL.${KRB5_TYPE}}