diff options
author | Cy Schubert <cy@FreeBSD.org> | 2015-11-04 02:29:38 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2015-11-04 02:29:38 +0000 |
commit | e8ab409d899fe1b70f3e861574006a8f00d43109 (patch) | |
tree | bce459144cd210fe6c0e3255a75fa8a16baeb01c /security/pam_krb5 | |
parent | a2e61ab8cff022791969f46b14d92ac88deaab54 (diff) | |
download | ports-e8ab409d899fe1b70f3e861574006a8f00d43109.tar.gz ports-e8ab409d899fe1b70f3e861574006a8f00d43109.zip |
Notes
Diffstat (limited to 'security/pam_krb5')
-rw-r--r-- | security/pam_krb5/Makefile | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/security/pam_krb5/Makefile b/security/pam_krb5/Makefile index 42f9816c3508..a708be305eec 100644 --- a/security/pam_krb5/Makefile +++ b/security/pam_krb5/Makefile @@ -23,36 +23,16 @@ OPTIONS_SINGLE= LINK OPTIONS_SINGLE_LINK= MIT HEIMDAL_BASE HEIMDAL_PORT OPTIONS_DEFAULT= MIT MIT_DESC= Link against MIT Kerberos +MIT_USES= gssapi:mit HEIMDAL_PORT_DESC= Link against Heimdal in ports Kerberos +HEIMDAL_PORT_USES= gssapi:heimdal HEIMDAL_BASE_DESC= Link against Heimdal in base Kerberos +HEIMDAL_BASE_USES= gssapi:base -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MHEIMDAL_BASE} -USES+= gssapi:base -.elif ${PORT_OPTIONS:MHEIMDAL_PORT} -USES+= gssapi:heimdal -.if defined(HEIMDAL_HOME) -KRB5_DIR?= ${HEIMDAL_HOME} -.else -KRB5_DIR?= ${LOCALBASE} -.endif -CONFIGURE_ARGS+= --with-krb5="${KRB5_DIR}" \ - --with-krb5-include="${KRB5_DIR}/include/heimdal" \ - --with-krb5-lib="${KRB5_DIR}/lib/heimdal" -CONFIGURE_ENV= PATH_KRB5_CONFIG=${KRB5_DIR}/bin/krb5-config -.elif ${PORT_OPTIONS:MMIT} -USES+= gssapi:mit -LIB_DEPENDS= libkrb5.so.3:${PORTSDIR}/security/krb5 -.if defined(KRB5_HOME) -KRB5_DIR?= ${KRB5_HOME} -.else -KRB5_DIR?= ${LOCALBASE} -.endif -CONFIGURE_ARGS+= --with-krb5="${KRB5_DIR}" -.else -IGNORE= KRB5_IMPL option must be set -.endif +CONFIGURE_ARGS+= --with-krb5="${GSSAPIBASEDIR}" \ + --with-krb5-include="${GSSAPIINCDIR}" \ + --with-krb5-lib="${GSSAPILIBDIR}" +CONFIGURE_ENV= PATH_KRB5_CONFIG="${KRB5CONFIG}" MANDIR= ${STAGEDIR}${MANPREFIX}/man |