aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-Tree
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2005-12-30 01:13:54 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2005-12-30 01:13:54 +0000
commitf501e37f423408e2cc2810d0477100a295e10e05 (patch)
tree5613a4c05dc07859b7eb13f5f56f40a9c20e39e6 /www/p5-HTML-Tree
parentc18700310b5c167875ab805bbe1d468f41ddb2c3 (diff)
downloadports-f501e37f423408e2cc2810d0477100a295e10e05.tar.gz
ports-f501e37f423408e2cc2810d0477100a295e10e05.zip
Notes
Diffstat (limited to 'www/p5-HTML-Tree')
-rw-r--r--www/p5-HTML-Tree/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/p5-HTML-Tree/Makefile b/www/p5-HTML-Tree/Makefile
index 41db28ce1082..7ecbdd060547 100644
--- a/www/p5-HTML-Tree/Makefile
+++ b/www/p5-HTML-Tree/Makefile
@@ -28,9 +28,10 @@ MAN3= HTML::Parse.3 HTML::TreeBuilder.3 HTML::AsSubs.3 \
.include <bsd.port.pre.mk>
-# p5-HTML-Tree -> p5-HTML-Parser
.if ${PERL_LEVEL} < 500600
-IGNORE= requires perl 5.6 or above
+post-patch:
+ ${PERL} -pi -e 's/our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/t/*.t
+ ${PERL} -pi -e 's,-Tw,-,; s/(use|no) warnings;.*//' ${WRKSRC}/t/*.t
.endif
.include <bsd.port.post.mk>