From cfd221ee6aee2d26bf25de0fb9461ef1826b27e7 Mon Sep 17 00:00:00 2001 From: jlam Date: Wed, 21 Jan 2004 14:01:06 +0000 Subject: Recognize KERBEROS as a flag that can cause this package to be built using Kerberos for GSSAPI support. --- security/cyrus-sasl2/Makefile | 5 +++-- security/cyrus-saslauthd/Makefile | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'security') 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}} -- cgit v1.2.3