1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

- Now builds under Perl 5.005_03

This commit is contained in:
Lars Thegler 2004-11-20 12:32:26 +00:00
parent 0ad9c6be77
commit ab161bf17e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122000

View File

@ -24,4 +24,12 @@ PERL_CONFIGURE= YES
MAN3= Test::Pod::Coverage.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} <= 500503
post-patch:
@${PERL} -pi -e '$$_ = "" if /use warnings;/;' \
-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
${WRKSRC}/Makefile.PL \
${WRKSRC}/Coverage.pm
.endif
.include <bsd.port.post.mk>