summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-03-20 06:53:11 +0000
committermarcus <marcus@FreeBSD.org>2005-03-20 06:53:11 +0000
commit9cc3b426f0c76bae93c79b99bf39330229ac59ae (patch)
treefb3f5eee70859e94ee3c6e7c9eb1d8dc1386af3d /mail
parent50b909f9838658a3af0443ba0f7713a9316bbfe2 (diff)
downloadFreeBSD-ports-9cc3b426f0c76bae93c79b99bf39330229ac59ae.zip
FreeBSD-ports-9cc3b426f0c76bae93c79b99bf39330229ac59ae.tar.gz
Mandate Kerberos, and use the same scheme that ximian-connector uses.
Diffstat (limited to 'mail')
-rw-r--r--mail/evolution/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 0cd5d59..3b178c0 100644
--- a/mail/evolution/Makefile
+++ b/mail/evolution/Makefile
@@ -7,6 +7,7 @@
PORTNAME= evolution
PORTVERSION= 2.2.1.1
+PORTREVISION= 1
CATEGORIES= mail gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.2
@@ -32,8 +33,7 @@ CONFIGURE_ARGS= --enable-nss=yes \
--with-nss-libs=${LOCALBASE}/lib \
--with-nspr-includes=${LOCALBASE}/include/nspr \
--with-nspr-libs=${LOCALBASE}/lib \
- --with-sub-version=" FreeBSD GNOME Team Port" \
- --with-krb5=/usr
+ --with-sub-version=" FreeBSD GNOME Team Port"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -95,6 +95,18 @@ PLIST_SUB+= DBUS=""
PLIST_SUB+= DBUS="@comment "
.endif
+.if ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
+ exists(/usr/lib/libkrb5.so)
+CONFIGURE_ARGS+= --with-krb5=/usr
+.else
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+.if defined(HEIMDAL_HOME)
+CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} --with-krb5-includes=${HEIMDAL_HOME}/include
+.else
+CONFIGURE_ARGS+= --with-krb5=${LOCALBASE}
+.endif
+.endif
+
post-patch:
@${SED} -e 's|%%PREFIX%%|${PREFIX}| ; \
s|%%EVO_VERSION%%|${EVO_VERSION}|' \
OpenPOWER on IntegriCloud