Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 13:57:37 +0100 (CET)
From:      Lars Thegler <lars@thegler.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61515: [MAINTAINER] misc/p5-File-CounterFile: update to 1.03
Message-ID:  <20040118125737.2F2133EBD@dask.thegler.dk>
Resent-Message-ID: <200401181300.i0ID0SEF063116@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61515
>Category:       ports
>Synopsis:       [MAINTAINER] misc/p5-File-CounterFile: update to 1.03
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 18 05:00:27 PST 2004
>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 1.03

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- p5-File-CounterFile-1.03.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/p5-File-CounterFile/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	28 Dec 2003 17:07:57 -0000	1.6
+++ Makefile	18 Jan 2004 12:56:55 -0000
@@ -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 @@
 
 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>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/misc/p5-File-CounterFile/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	28 Dec 2003 17:07:57 -0000	1.4
+++ distinfo	18 Jan 2004 12:56:55 -0000
@@ -1 +1 @@
-MD5 (File-CounterFile-1.02.tar.gz) = 5d60cbf081a9b23b55ac5db429cc4dfc
+MD5 (File-CounterFile-1.03.tar.gz) = 1b81c7ae95fa6df289d8f11b17b76064
Index: files/patch-CounterFile.pm
===================================================================
RCS file: /home/ncvs/ports/misc/p5-File-CounterFile/files/patch-CounterFile.pm,v
retrieving revision 1.1
diff -u -r1.1 patch-CounterFile.pm
--- files/patch-CounterFile.pm	14 Oct 2003 13:20:35 -0000	1.1
+++ files/patch-CounterFile.pm	18 Jan 2004 12:56:55 -0000
@@ -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.
  
--- p5-File-CounterFile-1.03.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040118125737.2F2133EBD>