summaryrefslogtreecommitdiff
path: root/databases/evolution-data-server
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-20 06:46:08 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-03-20 06:46:08 +0000
commit3ce3ef7c6e88180ed753a48eef02d54183cec4a6 (patch)
tree99d0fa58eb005802f48d01a2ea93f92e9e9bbde2 /databases/evolution-data-server
parentAllow ${DATADIR} to be filled into the pkg-message automagically. (diff)
Mandate Kerberos, and use the same scheme that ximian-connector users to
fix the build on 4.X. Reported by: Kevin Oberman <oberman@es.net>
Notes
Notes: svn path=/head/; revision=131693
Diffstat (limited to 'databases/evolution-data-server')
-rw-r--r--databases/evolution-data-server/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/evolution-data-server/Makefile b/databases/evolution-data-server/Makefile
index 68aad35bdbf9..1cbed613c81e 100644
--- a/databases/evolution-data-server/Makefile
+++ b/databases/evolution-data-server/Makefile
@@ -7,6 +7,7 @@
PORTNAME= evolution-data-server
PORTVERSION= 1.2.1
+PORTREVISION= 1
CATEGORIES= databases gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.2
@@ -52,6 +53,18 @@ CONFIGURE_ARGS+=--with-openldap=yes
CONFIGURE_ARGS+=--with-openldap=no
.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
+
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} "evolution-data-server has the following configurable option(s):"