Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/p5-File-Copy-Recursive/Makefile,v --- Makefile 30 Nov 2005 03:44:49 -0000 1.2 +++ Makefile 17 Dec 2005 17:12:14 -0000 @@ -22,8 +22,11 @@ .include -.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