diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-12-19 05:39:16 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-12-19 05:39:16 +0000 |
commit | ab546a77b464ada12ee5b12f23896b2a030542e0 (patch) | |
tree | cd5038fb0b76abe6822ff9234937b6f07b12e320 /devel/p5-File-Copy-Recursive | |
parent | 41fd191b1a171148e6fbd6a1489860cb904f24c5 (diff) |
Notes
Diffstat (limited to 'devel/p5-File-Copy-Recursive')
-rw-r--r-- | devel/p5-File-Copy-Recursive/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/p5-File-Copy-Recursive/Makefile b/devel/p5-File-Copy-Recursive/Makefile index c2fe3c746ba2..4b693664840e 100644 --- a/devel/p5-File-Copy-Recursive/Makefile +++ b/devel/p5-File-Copy-Recursive/Makefile @@ -22,8 +22,11 @@ MAN3= File::Copy::Recursive.3 .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500601 -IGNORE= requires perl 5.6.x or later. Install lang/perl5 then try again +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e 's/(mkdir \S+)/$$1, 0755/g' ${WRKSRC}/Recursive.pm + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/Recursive.pm + ${REINPLACE_CMD} -e '/warnings/d' ${WRKSRC}/Recursive.pm .endif .include <bsd.port.post.mk> |