From d4f6e186cb1580977ae0586a93897eee1b5017a9 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Mon, 21 Jul 2025 15:57:27 -0700 Subject: mail/cyrus-imapd38: Add support for MIT KRB5 in base FreeBSD 15 will ship with MIT KRB5 in base. Detect this accordingly. PR: 287597 exp-run by: antoine --- mail/cyrus-imapd38/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/cyrus-imapd38/Makefile b/mail/cyrus-imapd38/Makefile index 79bae82629d3..2a684cc04dce 100644 --- a/mail/cyrus-imapd38/Makefile +++ b/mail/cyrus-imapd38/Makefile @@ -1,6 +1,6 @@ PORTNAME= cyrus-imapd PORTVERSION= 3.8.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= https://github.com/cyrusimap/cyrus-imapd/releases/download/${PORTNAME}-${DISTVERSION}/ PKGNAMESUFFIX= ${CYRUS_IMAPD_VER} @@ -133,8 +133,12 @@ OPTIONS_RADIO_GSSAPI+= GSSAPI_BASE OPTIONS_DEFAULT+= GSSAPI_BASE .endif GSSAPI_BASE_USES= gssapi -GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ - --with-gss_impl=heimdal +GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" +.if exists(/usr/libexec/krb5kdc) +GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit +.else +GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal +.endif GSSAPI_HEIMDAL_USES= gssapi:heimdal,flags GSSAPI_HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \ --with-gss_impl=heimdal -- cgit v1.2.3