svn commit: r463471 - head/security/p5-GSSAPI

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Mar 3 09:03:05 UTC 2018


Author: amdmi3
Date: Sat Mar  3 09:03:04 2018
New Revision: 463471
URL: https://svnweb.freebsd.org/changeset/ports/463471

Log:
  - Add LICENSE
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/security/p5-GSSAPI/Makefile

Modified: head/security/p5-GSSAPI/Makefile
==============================================================================
--- head/security/p5-GSSAPI/Makefile	Sat Mar  3 08:59:34 2018	(r463470)
+++ head/security/p5-GSSAPI/Makefile	Sat Mar  3 09:03:04 2018	(r463471)
@@ -11,6 +11,9 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl at 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 GSSA
 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' \


More information about the svn-ports-head mailing list