summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2
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/cyrus-sasl2
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/cyrus-sasl2')
-rw-r--r--security/cyrus-sasl2/Makefile5
1 files changed, 3 insertions, 2 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