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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user