mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Update to version 1.03
PR: 61515 Submitted by: maintainer
This commit is contained in:
parent
5fa18a7717
commit
e269e8e260
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98493
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= File-CounterFile
|
||||
PORTVERSION= 1.02
|
||||
PORTVERSION= 1.03
|
||||
CATEGORIES= misc perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= File
|
||||
@ -19,4 +19,13 @@ PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= File::CounterFile.3
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PERL_LEVEL} < 500601
|
||||
post-configure:
|
||||
cd ${WRKSRC}; \
|
||||
${PERL} -pi -e 's|(.*Fcntl.*) SEEK_SET(.*)|\1\2\nuse POSIX qw(SEEK_SET);|;' \
|
||||
CounterFile.pm
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (File-CounterFile-1.02.tar.gz) = 5d60cbf081a9b23b55ac5db429cc4dfc
|
||||
MD5 (File-CounterFile-1.03.tar.gz) = 1b81c7ae95fa6df289d8f11b17b76064
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- CounterFile.pm.orig Tue Jul 30 23:45:06 2002
|
||||
+++ CounterFile.pm Sun Jul 6 08:08:46 2003
|
||||
--- CounterFile.pm.orig Sun Jan 18 13:31:18 2004
|
||||
+++ CounterFile.pm Sun Jan 18 13:31:54 2004
|
||||
@@ -19,7 +19,7 @@
|
||||
$DEFAULT_INITIAL = 0; # default initial counter value
|
||||
|
||||
@ -9,12 +9,12 @@
|
||||
|
||||
# Experimental overloading.
|
||||
use overload ('++' => \&inc,
|
||||
@@ -205,7 +205,7 @@
|
||||
@@ -210,7 +210,7 @@
|
||||
If the file name does not start with "/" or ".", then it is
|
||||
interpreted as a file relative to C<$File::CounterFile::DEFAULT_DIR>.
|
||||
The default value for this variable is initialized from the
|
||||
-environment variable C<TMPDIR>, or F</usr/tmp> is no environment
|
||||
+environment variable C<TMPDIR>, or F</var/tmp> is no environment
|
||||
-environment variable C<TMPDIR>, or F</usr/tmp> if no environment
|
||||
+environment variable C<TMPDIR>, or F</var/tmp> if no environment
|
||||
variable is defined. You may want to assign a different value to this
|
||||
variable before creating counters.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user