summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-12-19 04:48:16 +0000
committerume <ume@FreeBSD.org>2003-12-19 04:48:16 +0000
commit77a23a8b653161627819d5658bcea53b2ec777ee (patch)
tree262626455f1b72a909a0fbadb4816250c1d63306
parent58b325ac8aba0d678c3cf42febfad127cba82137 (diff)
downloadFreeBSD-ports-77a23a8b653161627819d5658bcea53b2ec777ee.zip
FreeBSD-ports-77a23a8b653161627819d5658bcea53b2ec777ee.tar.gz
since 5-CURRENT has Kerberos5 as default, enable Kerberos5 as
default on 5-CURRENT. Submitted by: Sean McNeil <sean@mcneil.com>
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile2
-rw-r--r--security/cyrus-sasl2/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index b4385ec..1e98585 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -78,7 +78,7 @@ CONFIGURE_ARGS+=--with-ldap=${PREFIX}
CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME}
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME} --with-gss_impl=heimdal
-.elif !defined(WITHOUT_GSSAPI) && defined(MAKE_KERBEROS5) && exists(/usr/lib/libkrb5.a)
+.elif !defined(WITHOUT_GSSAPI) && (defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105) && exists(/usr/lib/libkrb5.a)
CONFIGURE_ARGS+=--enable-gssapi
.else
CONFIGURE_ARGS+=--disable-gssapi
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 13e918b..b055b0d 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -120,7 +120,7 @@ CONFIGURE_ARGS+=--enable-ntlm
CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME}
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
CONFIGURE_ARGS+=--enable-gssapi=${HEIMDAL_HOME} --with-gss_impl=heimdal
-.elif !defined(WITHOUT_GSSAPI) && defined(MAKE_KERBEROS5) && exists(/usr/lib/libkrb5.a)
+.elif !defined(WITHOUT_GSSAPI) && (defined(MAKE_KERBEROS5) || ${OSVERSION} > 500105) && exists(/usr/lib/libkrb5.a)
CONFIGURE_ARGS+=--enable-gssapi
.else
CONFIGURE_ARGS+=--disable-gssapi
OpenPOWER on IntegriCloud