aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/cyrus-sasl2-saslauthd/Makefile4
-rw-r--r--security/cyrus-sasl2/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/security/cyrus-sasl2-saslauthd/Makefile b/security/cyrus-sasl2-saslauthd/Makefile
index 1e9858550c34..84793515b4f8 100644
--- a/security/cyrus-sasl2-saslauthd/Makefile
+++ b/security/cyrus-sasl2-saslauthd/Makefile
@@ -74,6 +74,8 @@ USE_OPENLDAP= yes
CONFIGURE_ARGS+=--with-ldap=${PREFIX}
.endif
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a)
CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME}
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
@@ -84,8 +86,6 @@ CONFIGURE_ARGS+=--enable-gssapi
CONFIGURE_ARGS+=--disable-gssapi
.endif
-.include <bsd.port.pre.mk>
-
# KERBEROS 4 was removed in FreeBSD 5.0-CURRENT
.if ${OSVERSION} > 500105
.if defined(WITH_KERBEROS4)
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index b055b0d47e7b..fbcc35f530a1 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -116,6 +116,8 @@ NTLM= "@comment "
CONFIGURE_ARGS+=--enable-ntlm
.endif
+.include <bsd.port.pre.mk>
+
.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a)
CONFIGURE_ARGS+=--enable-gssapi=${KRB5_HOME}
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
@@ -127,8 +129,6 @@ CONFIGURE_ARGS+=--disable-gssapi
GSSAPI= "@comment "
.endif
-.include <bsd.port.pre.mk>
-
# KERBEROS 4 was removed in FreeBSD 5.0-CURRENT
.if ${OSVERSION} > 500105
.if defined(WITH_KERBEROS4)