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 .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 diff --git a/misc/p5-File-CounterFile/distinfo b/misc/p5-File-CounterFile/distinfo index b4e3daba0d60..6ced7032a44c 100644 --- a/misc/p5-File-CounterFile/distinfo +++ b/misc/p5-File-CounterFile/distinfo @@ -1 +1 @@ -MD5 (File-CounterFile-1.03.tar.gz) = 1b81c7ae95fa6df289d8f11b17b76064 +MD5 (File-CounterFile-1.04.tar.gz) = df77e2dbc80aa3ec9647a570bb5e0cf8