1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

mail/cyrus-imapd*: Use pkgconfig file to test for MIT KRB5 existence

This is better than testing for krb5kdc.

See https://reviews.freebsd.org/D51841.
This commit is contained in:
Cy Schubert
2025-08-10 06:16:10 -07:00
parent a936bd8b3f
commit 6a1d45c289
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
.if exists(/usr/libexec/krb5kdc)
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal
+1 -1
View File
@@ -104,7 +104,7 @@ OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
.if exists(/usr/libexec/krb5kdc)
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal
+1 -1
View File
@@ -141,7 +141,7 @@ OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
.if exists(/usr/libexec/krb5kdc)
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal
+1 -1
View File
@@ -139,7 +139,7 @@ OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
.if exists(/usr/libexec/krb5kdc)
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal
+1 -1
View File
@@ -113,7 +113,7 @@ OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
.if exists(/usr/libexec/krb5kdc)
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal
+1 -1
View File
@@ -128,7 +128,7 @@ OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
.if exists(/usr/libexec/krb5kdc)
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal
+1 -1
View File
@@ -133,7 +133,7 @@ OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
.if exists(/usr/libexec/krb5kdc)
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal
+1 -1
View File
@@ -134,7 +134,7 @@ OPTIONS_DEFAULT+= GSSAPI_BASE
.endif
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}"
.if exists(/usr/libexec/krb5kdc)
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=mit
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-gss_impl=heimdal