diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-30 01:13:54 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2005-12-30 01:13:54 +0000 |
commit | f501e37f423408e2cc2810d0477100a295e10e05 (patch) | |
tree | 5613a4c05dc07859b7eb13f5f56f40a9c20e39e6 /www | |
parent | c18700310b5c167875ab805bbe1d468f41ddb2c3 (diff) | |
download | ports-f501e37f423408e2cc2810d0477100a295e10e05.tar.gz ports-f501e37f423408e2cc2810d0477100a295e10e05.zip |
- unbreak this port on old perl
PR: based on 90030
Submitted by: leeym
Notes
Notes:
svn path=/head/; revision=152392
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-HTML-Tree/Makefile | 5 |
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> |