diff options
author | lth <lth@FreeBSD.org> | 2004-11-20 20:32:26 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2004-11-20 20:32:26 +0800 |
commit | bae49a8fe80690ad3db1804f2dbe1351289eccd8 (patch) | |
tree | ae4317c8264b414052fa3161d7a72b98919f19be | |
parent | 265f9ca1a51d31973c38c99c95953358666120a2 (diff) | |
download | freebsd-ports-gnome-bae49a8fe80690ad3db1804f2dbe1351289eccd8.tar.gz freebsd-ports-gnome-bae49a8fe80690ad3db1804f2dbe1351289eccd8.tar.zst freebsd-ports-gnome-bae49a8fe80690ad3db1804f2dbe1351289eccd8.zip |
- Now builds under Perl 5.005_03
-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> |