Date: Sun, 18 Dec 2005 01:13:20 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@FreeBSD.org Subject: ports/90572: [PATCH] devel/p5-File-Copy-Recursive: build on old perl Message-ID: <20051217171320.05CCDB29CE8@utopia.leeym.com> Resent-Message-ID: <200512171720.jBHHK2XT063060@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 90572 >Category: ports >Synopsis: [PATCH] devel/p5-File-Copy-Recursive: build on old perl >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 17 17:20:02 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 6.0-STABLE i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Nov 17 09:15:19 CST 2005 >Description: - build on old perl Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-File-Copy-Recursive-0.16.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/p5-File-Copy-Recursive/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 30 Nov 2005 03:44:49 -0000 1.2 +++ Makefile 17 Dec 2005 17:12:14 -0000 @@ -22,8 +22,11 @@ .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> --- p5-File-Copy-Recursive-0.16.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051217171320.05CCDB29CE8>