aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/p5-Cache-FastMmap/Makefile9
-rw-r--r--devel/p5-Cache-FastMmap/pkg-descr3
2 files changed, 7 insertions, 5 deletions
diff --git a/devel/p5-Cache-FastMmap/Makefile b/devel/p5-Cache-FastMmap/Makefile
index 8a9ada88eca2..5518919952a8 100644
--- a/devel/p5-Cache-FastMmap/Makefile
+++ b/devel/p5-Cache-FastMmap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Cache-FastMmap
PORTVERSION= 1.06
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Cache
@@ -24,8 +25,12 @@ MAN3= Cache::FastMmap.3 Cache::FastMmap::CImpl.3
.include <bsd.port.pre.mk>
-.if ${PERL_LEVEL} < 500800
-IGNORE= "Perl 5.8 or newer required. Install lang/perl5.8 and try again."
+.if ${PERL_LEVEL} < 500600
+IGNORE= Perl 5.6 or newer required. Install lang/perl5.8 or lang/perl5 and try again
.endif
+post-patch:
+ @${FIND} ${WRKSRC} -name "*.[pP][mL]" | \
+ ${XARGS} ${PERL} -i -pe 's/^use 5.008/use 5.006/'
+
.include <bsd.port.post.mk>
diff --git a/devel/p5-Cache-FastMmap/pkg-descr b/devel/p5-Cache-FastMmap/pkg-descr
index e001b2f51e3c..79fb151886f2 100644
--- a/devel/p5-Cache-FastMmap/pkg-descr
+++ b/devel/p5-Cache-FastMmap/pkg-descr
@@ -4,6 +4,3 @@ can safely access the cache at the same time. It uses a basic LRU
algorithm to keep the most used entries in the cache.
WWW: http://search.cpan.org/dist/Cache-FastMmap/
-
--- Sergey Skvortsov
-skv@FreeBSD.org