aboutsummaryrefslogtreecommitdiff
path: root/mail/evolution
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-20 06:53:11 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-20 06:53:11 +0000
commit0a217ec322c1894ba7272f5ffe0a28a0aad824de (patch)
treec55d7e642e19bfd3ed614a33222c1d21780b2352 /mail/evolution
parent3ce3ef7c6e88180ed753a48eef02d54183cec4a6 (diff)
downloadports-0a217ec322c1894ba7272f5ffe0a28a0aad824de.tar.gz
ports-0a217ec322c1894ba7272f5ffe0a28a0aad824de.zip
Mandate Kerberos, and use the same scheme that ximian-connector uses.
Notes
Notes: svn path=/head/; revision=131694
Diffstat (limited to 'mail/evolution')
-rw-r--r--mail/evolution/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile
index 0cd5d595ce5c..3b178c0aa19c 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}|' \