aboutsummaryrefslogtreecommitdiff
path: root/misc/p5-File-CounterFile/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-01-24 18:20:26 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-01-24 18:20:26 +0000
commit612db1e47dc340230cc3aa4a959092764c8f830c (patch)
tree0a8c7f112e740c3b77ff3cace8d3633217bf3078 /misc/p5-File-CounterFile/Makefile
parent7492ec92350ee3243dccef8cc1255daff852ebe7 (diff)
downloadports-612db1e47dc340230cc3aa4a959092764c8f830c.tar.gz
ports-612db1e47dc340230cc3aa4a959092764c8f830c.zip
- Update to 1.04
* PREFIX-clean under perl 5.005_03 PR: 61837 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=98972
Diffstat (limited to 'misc/p5-File-CounterFile/Makefile')
-rw-r--r--misc/p5-File-CounterFile/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/p5-File-CounterFile/Makefile b/misc/p5-File-CounterFile/Makefile
index 4e0d811df6d5..9f251a11a48d 100644
--- a/misc/p5-File-CounterFile/Makefile
+++ b/misc/p5-File-CounterFile/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= File-CounterFile
-PORTVERSION= 1.03
+PORTVERSION= 1.04
CATEGORIES= misc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= File
@@ -22,10 +22,9 @@ MAN3= File::CounterFile.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
+# make PREFIX-clean under perl 5.005_03
post-configure:
- cd ${WRKSRC}; \
- ${PERL} -pi -e 's|(.*Fcntl.*) SEEK_SET(.*)|\1\2\nuse POSIX qw(SEEK_SET);|;' \
- CounterFile.pm
+ ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
.endif
.include <bsd.port.post.mk>