ports/90572: [PATCH] devel/p5-File-Copy-Recursive: build on old perl

Yen-Ming Lee leeym at FreeBSD.org
Sat Dec 17 17:20:04 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list