mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Respect HEIMDAL_HOME / KRB5_HOME.
PR: ports/185236 Submitted by: Dewayne <dewayne__at__heuristicsystems.com.au> (partly)
This commit is contained in:
parent
19d7db45c6
commit
3ca58ac2cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337973
@ -51,20 +51,28 @@ OPTIONS_DEFAULT= BASE
|
|||||||
BASE_DESC= Use Heimdal in base
|
BASE_DESC= Use Heimdal in base
|
||||||
BASE_CONFIGURE_ENABLE= gssapi
|
BASE_CONFIGURE_ENABLE= gssapi
|
||||||
HEIMDAL_DESC= Use Heimdal from ports
|
HEIMDAL_DESC= Use Heimdal from ports
|
||||||
HEIMDAL_CONFIGURE_ON= --enable-gssapi=${PREFIX} --with-gss_impl=heimdal
|
HEIMDAL_CONFIGURE_ON= --enable-gssapi=${HEIMDAL_HOME} \
|
||||||
HEIMDAL_BUILD_DEPENDS= ${PREFIX}/lib/libgssapi.so:${PORTSDIR}/security/heimdal
|
--with-gss_impl=heimdal
|
||||||
|
HEIMDAL_BUILD_DEPENDS= ${HEIMDAL_HOME}/lib/libgssapi.so:${PORTSDIR}/security/heimdal
|
||||||
HEIMDAL_RUN_DEPENDS= ${HEIMDAL_BUILD_DEPENDS}
|
HEIMDAL_RUN_DEPENDS= ${HEIMDAL_BUILD_DEPENDS}
|
||||||
HEIMDAL_LDFLAGS= "-R${PREFIX}/lib"
|
HEIMDAL_LDFLAGS= "-R${HEIMDAL_HOME}/lib"
|
||||||
MIT_DESC= Use MIT Kerberos V5
|
MIT_DESC= Use MIT Kerberos V5
|
||||||
MIT_CONFIGURE_ON= --enable-gssapi=${PREFIX} --with-gss_impl=mit
|
MIT_CONFIGURE_ON= --enable-gssapi=${KRB5_HOME} --with-gss_impl=mit
|
||||||
MIT_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5
|
MIT_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5
|
||||||
MIT_LDFLAGS= "-R${PREFIX}/lib"
|
MIT_LDFLAGS= "-R${KRB5_HOME}/lib"
|
||||||
|
|
||||||
PLIST_FILES= lib/sasl2/libgssapiv2.a \
|
PLIST_FILES= lib/sasl2/libgssapiv2.a \
|
||||||
lib/sasl2/libgssapiv2.la \
|
lib/sasl2/libgssapiv2.la \
|
||||||
lib/sasl2/libgssapiv2.so \
|
lib/sasl2/libgssapiv2.so \
|
||||||
lib/sasl2/libgssapiv2.so.3
|
lib/sasl2/libgssapiv2.so.3
|
||||||
|
|
||||||
|
.if !defined(HEIMDAL_HOME)
|
||||||
|
HEIMDAL_HOME= ${PREFIX}
|
||||||
|
.endif
|
||||||
|
.if !defined(KRB5_HOME)
|
||||||
|
KRB5_HOME= ${PREFIX}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${PORT_OPTIONS:MHEIMDAL}
|
.if ${PORT_OPTIONS:MHEIMDAL}
|
||||||
|
Loading…
Reference in New Issue
Block a user