aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2014-10-11 17:57:11 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2014-10-11 17:57:11 +0000
commitaf5b874dacbf66fc591206947565c9c115f7f095 (patch)
tree33ea11b4850848a954fbf17eef781adcadda4e0f /security
parent0ea732142215774e73531ced3c834a081bce7675 (diff)
downloadports-af5b874dacbf66fc591206947565c9c115f7f095.tar.gz
ports-af5b874dacbf66fc591206947565c9c115f7f095.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/cyrus-sasl2-gssapi/Makefile20
1 files changed, 6 insertions, 14 deletions
diff --git a/security/cyrus-sasl2-gssapi/Makefile b/security/cyrus-sasl2-gssapi/Makefile
index b4f6685d5e43..b74c1ec28cf9 100644
--- a/security/cyrus-sasl2-gssapi/Makefile
+++ b/security/cyrus-sasl2-gssapi/Makefile
@@ -50,30 +50,22 @@ OPTIONS_SINGLE= KERBEROS
OPTIONS_SINGLE_KERBEROS=BASE HEIMDAL MIT
OPTIONS_DEFAULT= BASE
BASE_DESC= Use Heimdal in base
+BASE_USES= gssapi
BASE_CONFIGURE_ENABLE= gssapi
HEIMDAL_DESC= Use Heimdal from ports
-HEIMDAL_CONFIGURE_ON= --enable-gssapi=${HEIMDAL_HOME} \
+HEIMDAL_USES= gssapi:heimdal
+HEIMDAL_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
--with-gss_impl=heimdal
-HEIMDAL_BUILD_DEPENDS= ${HEIMDAL_HOME}/lib/libgssapi.so:${PORTSDIR}/security/heimdal
-HEIMDAL_RUN_DEPENDS= ${HEIMDAL_BUILD_DEPENDS}
-HEIMDAL_LDFLAGS= "-Wl,-rpath,${HEIMDAL_HOME}/lib"
MIT_DESC= Use MIT Kerberos V5
-MIT_CONFIGURE_ON= --enable-gssapi=${KRB5_HOME} --with-gss_impl=mit
-MIT_LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5
-MIT_LDFLAGS= "-Wl,-rpath,${KRB5_HOME}/lib"
+MIT_USES= gssapi:mit
+MIT_CONFIGURE_ON= --enable-gssapi="${GSSAPIBASEDIR}" \
+ --with-gss_impl=mit
PLIST_FILES= lib/sasl2/libgssapiv2.a \
lib/sasl2/libgssapiv2.so \
lib/sasl2/libgssapiv2.so.3 \
lib/sasl2/libgssapiv2.so.3.0.0
-.if !defined(HEIMDAL_HOME)
-HEIMDAL_HOME= ${PREFIX}
-.endif
-.if !defined(KRB5_HOME)
-KRB5_HOME= ${PREFIX}
-.endif
-
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MHEIMDAL}