summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/evolution-exchange/Makefile9
-rw-r--r--mail/ximian-connector/Makefile9
2 files changed, 2 insertions, 16 deletions
diff --git a/mail/evolution-exchange/Makefile b/mail/evolution-exchange/Makefile
index 5ab39285bf6c..c0c5b1c14c97 100644
--- a/mail/evolution-exchange/Makefile
+++ b/mail/evolution-exchange/Makefile
@@ -36,14 +36,7 @@ PLIST_SUB= VERSION="2.0" EVO_VERSION=${EVO_VERSION}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000 && defined(MAKE_KERBEROS5) && \
- exists(/usr/lib/libkrb5.so) && !defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS+= --with-krb5=/usr
-.elif ( ${OSVERSION} < 500000 && !defined(MAKE_KERBEROS5) ) || \
- defined(PACKAGE_BUILDING)
-LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
-CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
-.elif ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
+.if ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
exists(/usr/lib/libkrb5.so)
CONFIGURE_ARGS+= --with-krb5=/usr
.else
diff --git a/mail/ximian-connector/Makefile b/mail/ximian-connector/Makefile
index 5ab39285bf6c..c0c5b1c14c97 100644
--- a/mail/ximian-connector/Makefile
+++ b/mail/ximian-connector/Makefile
@@ -36,14 +36,7 @@ PLIST_SUB= VERSION="2.0" EVO_VERSION=${EVO_VERSION}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000 && defined(MAKE_KERBEROS5) && \
- exists(/usr/lib/libkrb5.so) && !defined(PACKAGE_BUILDING)
-CONFIGURE_ARGS+= --with-krb5=/usr
-.elif ( ${OSVERSION} < 500000 && !defined(MAKE_KERBEROS5) ) || \
- defined(PACKAGE_BUILDING)
-LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
-CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
-.elif ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
+.if ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
exists(/usr/lib/libkrb5.so)
CONFIGURE_ARGS+= --with-krb5=/usr
.else