forked from Lainports/freebsd-ports
- Add LICENSE
- Switch to options helpers Approved by: portmgr blanket
This commit is contained in:
parent
93a76d8266
commit
c5271b70af
1 changed files with 5 additions and 8 deletions
|
|
@ -11,6 +11,9 @@ PKGNAMEPREFIX= p5-
|
|||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= Perl extension providing access to the GSSAPIv2 library
|
||||
|
||||
LICENSE= ART10 GPLv1+
|
||||
LICENSE_COMB= dual
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
|
|
@ -21,14 +24,8 @@ OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
|
|||
GSSAPI_BASE_USES= gssapi
|
||||
GSSAPI_HEIMDAL_USES= gssapi:heimdal
|
||||
GSSAPI_MIT_USES= gssapi:mit
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGSSAPI_MIT}
|
||||
KRB5CONF= ${KRB5_HOME}/bin/krb5-config
|
||||
.else
|
||||
KRB5CONF= ${HEIMDAL_HOME}/bin/krb5-config
|
||||
.endif
|
||||
GSSAPI_MIT_VARS= KRB5CONF=${KRB5_HOME}/bin/krb5-config
|
||||
GSSAPI_MIT_VARS_OFF= KRB5CONF=${HEIMDAL_HOME}/bin/krb5-config
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%KRB5CONF%%|${KRB5CONF}|g' \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue