aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Cache-FastMmap
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-08-19 15:32:30 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-08-19 15:32:30 +0000
commit62b66868186dbf6f029e0c5be710c2a510c1e09b (patch)
treecbc3f83fbdf5ef707be2c1da1ac542906903ee1a /devel/p5-Cache-FastMmap
parentee18234277d73a099144cc48fcf2847856610ee4 (diff)
downloadports-62b66868186dbf6f029e0c5be710c2a510c1e09b.tar.gz
ports-62b66868186dbf6f029e0c5be710c2a510c1e09b.zip
Notes
Diffstat (limited to 'devel/p5-Cache-FastMmap')
-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