aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd22
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2006-05-01 04:19:18 +0800
committerume <ume@FreeBSD.org>2006-05-01 04:19:18 +0800
commitf1286cc7afe264e68f1791626e979757a50ff479 (patch)
treec9162c7e96c627a81f0fac9d8f77c36e5788d4cd /mail/cyrus-imapd22
parentc555540f538497af19ea51f0797db6e6dfccce67 (diff)
downloadfreebsd-ports-gnome-f1286cc7afe264e68f1791626e979757a50ff479.tar.gz
freebsd-ports-gnome-f1286cc7afe264e68f1791626e979757a50ff479.tar.zst
freebsd-ports-gnome-f1286cc7afe264e68f1791626e979757a50ff479.zip
Make it buildable on 4.X without Kerberos5 stuff.
Reported by: Mark Edwards <mark__at__antsclimbtree.com>
Diffstat (limited to 'mail/cyrus-imapd22')
-rw-r--r--mail/cyrus-imapd22/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile
index e3fec36509ff..4d09ff71b7c5 100644
--- a/mail/cyrus-imapd22/Makefile
+++ b/mail/cyrus-imapd22/Makefile
@@ -217,6 +217,11 @@ PLIST_SUB+= LDAP_PTLOADER="@comment "
EXTRA_PATCHES+= ${FILESDIR}/pass8bit.diff
.endif
+.if (!defined(MAKE_KERBEROS5) && ${OSVERSION} <= 500105) || \
+ !exists(/usr/lib/libkrb5.a)
+CONFIGURE_ARGS+=--disable-gssapi
+.endif
+
CYRUS_USER?= cyrus
CYRUS_GROUP?= cyrus