aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2010-06-28 23:36:28 +0800
committerleeym <leeym@FreeBSD.org>2010-06-28 23:36:28 +0800
commit6a3ce4a9ff820e7eabde2569c8a1b2fd6b16ba63 (patch)
treedc85dd62d223c513f6431f969f2cfa89534e46e0 /devel
parent45fea47107bba33273f3cd8b02746a073bab1fe9 (diff)
downloadfreebsd-ports-gnome-6a3ce4a9ff820e7eabde2569c8a1b2fd6b16ba63.tar.gz
freebsd-ports-gnome-6a3ce4a9ff820e7eabde2569c8a1b2fd6b16ba63.tar.zst
freebsd-ports-gnome-6a3ce4a9ff820e7eabde2569c8a1b2fd6b16ba63.zip
- unbreak under 5.10 (see https://rt.cpan.org/Public/Bug/Display.html?id=40958)
- drop maintainership - bump PORTREVISION Noticed by: max at digform.com Feature safe: yes
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Tie-File/Makefile7
-rw-r--r--devel/p5-Tie-File/files/patch-aa11
2 files changed, 16 insertions, 2 deletions
diff --git a/devel/p5-Tie-File/Makefile b/devel/p5-Tie-File/Makefile
index 039919115742..9e25bc1b1778 100644
--- a/devel/p5-Tie-File/Makefile
+++ b/devel/p5-Tie-File/Makefile
@@ -7,16 +7,19 @@
PORTNAME= Tie-File
PORTVERSION= 0.96
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
-MAINTAINER= leeym@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Access the lines of a disk file via a Perl array
PERL_CONFIGURE= yes
MAN3= Tie::File.3
+post-patch:
+ @${FIND} ${WRKSRC} -name "*.orig" -delete
+
.include <bsd.port.mk>
diff --git a/devel/p5-Tie-File/files/patch-aa b/devel/p5-Tie-File/files/patch-aa
new file mode 100644
index 000000000000..8ab9bececc6a
--- /dev/null
+++ b/devel/p5-Tie-File/files/patch-aa
@@ -0,0 +1,11 @@
+--- lib/Tie/File.pm.orig 2008-11-14 21:42:37.000000000 +0100
++++ lib/Tie/File.pm 2008-11-14 21:42:46.000000000 +0100
+@@ -89,7 +89,7 @@
+ unless (seek $file, 1, SEEK_SET) {
+ croak "$pack: your filehandle does not appear to be seekable";
+ }
+- seek $file, 0, SEEK_SET # put it back
++ seek $file, 0, SEEK_SET; # put it back
+ $fh = $file; # setting binmode is the user's problem
+ } elsif (ref $file) {
+ croak "usage: tie \@array, $pack, filename, [option => value]...";