diff options
author | Lars Thegler <lth@FreeBSD.org> | 2004-11-20 12:32:26 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2004-11-20 12:32:26 +0000 |
commit | ab161bf17ef918802a7c6b5521b5022da4cc0e50 (patch) | |
tree | 071751ad834ab8d89e6949248fa43a4a36ba04b4 /devel/p5-Test-Pod-Coverage | |
parent | 0ad9c6be7738aa715e6add8cf39db0e9f6864b6e (diff) | |
download | ports-ab161bf17ef918802a7c6b5521b5022da4cc0e50.tar.gz ports-ab161bf17ef918802a7c6b5521b5022da4cc0e50.zip |
Notes
Diffstat (limited to 'devel/p5-Test-Pod-Coverage')
-rw-r--r-- | devel/p5-Test-Pod-Coverage/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/p5-Test-Pod-Coverage/Makefile b/devel/p5-Test-Pod-Coverage/Makefile index d28b1fc3d5ee..149292a52816 100644 --- a/devel/p5-Test-Pod-Coverage/Makefile +++ b/devel/p5-Test-Pod-Coverage/Makefile @@ -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> |