1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

Add LICENSE

- Silence patch messages
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-09-15 19:17:53 +00:00
parent 5c3979d32e
commit 518d227142
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449929

View File

@ -11,6 +11,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Re-usable XPath engine for DOM-like trees
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
REINPLACE_ARGS= -i ''
@ -18,6 +21,6 @@ REINPLACE_ARGS= -i ''
# For errors like
# Bareword "XML::XPathEngine::Step::..." not allowed while "strict subs" in use at ...
post-patch:
${REINPLACE_CMD} -Ee 's,(use strict;),\1 no strict "subs";,' ${WRKSRC}/lib/XML/XPathEngine.pm
@${REINPLACE_CMD} -Ee 's,(use strict;),\1 no strict "subs";,' ${WRKSRC}/lib/XML/XPathEngine.pm
.include <bsd.port.mk>