diff options
author | skv <skv@FreeBSD.org> | 2004-08-19 23:32:30 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-08-19 23:32:30 +0800 |
commit | 7ed3232eef646767d3f142a3001afe9170452d58 (patch) | |
tree | 5e45bf6e8a51fe48fb767f4e42fc3b54188ddf50 | |
parent | ac8dc441f1c14591deb9ce9b44d36abdcd3c79e1 (diff) | |
download | freebsd-ports-gnome-7ed3232eef646767d3f142a3001afe9170452d58.tar.gz freebsd-ports-gnome-7ed3232eef646767d3f142a3001afe9170452d58.tar.zst freebsd-ports-gnome-7ed3232eef646767d3f142a3001afe9170452d58.zip |
Weaken perl version requirement (this module works on 5.6.x too).
Submitted by: Alex Kapranoff <alex@kapranoff.ru>
-rw-r--r-- | devel/p5-Cache-FastMmap/Makefile | 9 | ||||
-rw-r--r-- | devel/p5-Cache-FastMmap/pkg-descr | 3 |
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 |