mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- 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
This commit is contained in:
parent
90ab425e88
commit
ca2a752bc7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257113
@ -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>
|
||||
|
11
devel/p5-Tie-File/files/patch-aa
Normal file
11
devel/p5-Tie-File/files/patch-aa
Normal file
@ -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]...";
|
Loading…
Reference in New Issue
Block a user