diff options
-rw-r--r-- | mail/cyrus-imapd22/Makefile | 5 | ||||
-rw-r--r-- | mail/cyrus-imapd23/Makefile | 5 | ||||
-rw-r--r-- | mail/cyrus-imapd24/Makefile | 5 |
3 files changed, 15 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 diff --git a/mail/cyrus-imapd23/Makefile b/mail/cyrus-imapd23/Makefile index 5f6718348df4..f264407a92bf 100644 --- a/mail/cyrus-imapd23/Makefile +++ b/mail/cyrus-imapd23/Makefile @@ -214,6 +214,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 diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile index 5f6718348df4..f264407a92bf 100644 --- a/mail/cyrus-imapd24/Makefile +++ b/mail/cyrus-imapd24/Makefile @@ -214,6 +214,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 |