- Update to 1.04

* PREFIX-clean under perl 5.005_03

PR:		61837
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-01-24 18:20:26 +00:00
parent 7492ec9235
commit 612db1e47d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98972
2 changed files with 4 additions and 5 deletions

View File

@ -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>

View File

@ -1 +1 @@
MD5 (File-CounterFile-1.03.tar.gz) = 1b81c7ae95fa6df289d8f11b17b76064
MD5 (File-CounterFile-1.04.tar.gz) = df77e2dbc80aa3ec9647a570bb5e0cf8