ports/60507: [PATCH] devel/p5-File-Slurp: update to 9999.03
Lars Thegler
lars at thegler.dk
Mon Dec 22 13:30:31 UTC 2003
>Number: 60507
>Category: ports
>Synopsis: [PATCH] devel/p5-File-Slurp: update to 9999.03
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 22 05:30:21 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Lars Thegler
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Nov 5 11:25:36 CET
>Description:
- Update to 9999.03
Fresh patch, now passes all tests on perl 5.005_03.
Overrides PR/60499.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- p5-File-Slurp-9999.03.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-File-Slurp/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- Makefile 24 Oct 2003 12:01:50 -0000 1.21
+++ Makefile 22 Dec 2003 13:15:33 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= File-Slurp
-PORTVERSION= 2004.0904
+PORTVERSION= 9999.03
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
@@ -19,4 +19,13 @@
MAN3= File::Slurp.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+post-configure:
+ cd ${WRKSRC}; \
+ ${PERL} -pi -e 's|(.*Fcntl.*):seek(.*)|\1\2\nuse POSIX qw(SEEK_SET SEEK_CUR SEEK_END);|; \
+ s|.*= O_BINARY.*||;' lib/File/Slurp.pm t/*.t
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/p5-File-Slurp/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo 7 Sep 2003 01:07:55 -0000 1.5
+++ distinfo 22 Dec 2003 13:15:33 -0000
@@ -1 +1 @@
-MD5 (File-Slurp-2004.0904.tar.gz) = 96239bbc1cfdfc4ab5f59cf4a490855a
+MD5 (File-Slurp-9999.03.tar.gz) = c09a24466012d92f88908b7356f53caa
--- p5-File-Slurp-9999.03.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list