summaryrefslogtreecommitdiff
path: root/misc/p5-File-CounterFile/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-18 18:21:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-18 18:21:17 +0000
commite269e8e2600803c3dd44319dc45254941c5f795b (patch)
tree0e4f7a069f9c7afcb60bf751638b70f142d37f9b /misc/p5-File-CounterFile/Makefile
parent5fa18a7717de599811941de3fa7c8afd0d8b2a04 (diff)
downloadfreebsd-ports-e269e8e2600803c3dd44319dc45254941c5f795b.zip
- Update to version 1.03
PR: 61515 Submitted by: maintainer
Diffstat (limited to 'misc/p5-File-CounterFile/Makefile')
-rw-r--r--misc/p5-File-CounterFile/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/misc/p5-File-CounterFile/Makefile b/misc/p5-File-CounterFile/Makefile
index f4f81f7f2709..4e0d811df6d5 100644
--- a/misc/p5-File-CounterFile/Makefile
+++ b/misc/p5-File-CounterFile/Makefile
@@ -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>