diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2010-06-28 15:36:28 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2010-06-28 15:36:28 +0000 |
commit | ca2a752bc7a5864c951f51d2715c02cb0208c4b3 (patch) | |
tree | 1e65b6266ceec20ecc16a4faa7b85703ef86d73d /devel/p5-Tie-File | |
parent | 90ab425e8852d286fbb9fddbf3c57a443d2e07ad (diff) | |
download | ports-ca2a752bc7a5864c951f51d2715c02cb0208c4b3.tar.gz ports-ca2a752bc7a5864c951f51d2715c02cb0208c4b3.zip |
Notes
Diffstat (limited to 'devel/p5-Tie-File')
-rw-r--r-- | devel/p5-Tie-File/Makefile | 7 | ||||
-rw-r--r-- | devel/p5-Tie-File/files/patch-aa | 11 |
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]..."; |