aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-09-04 19:06:26 +0800
committermat <mat@FreeBSD.org>2003-09-04 19:06:26 +0800
commita481f18e147950a003b03d0cecf46e27e577a8cc (patch)
tree02826011291562a4b1c9f10b7ed6d4058a2606fa /devel
parent908ee53351dde20c8213c9b3282c369d22552cd8 (diff)
downloadfreebsd-ports-gnome-a481f18e147950a003b03d0cecf46e27e577a8cc.tar.gz
freebsd-ports-gnome-a481f18e147950a003b03d0cecf46e27e577a8cc.tar.zst
freebsd-ports-gnome-a481f18e147950a003b03d0cecf46e27e577a8cc.zip
No longer requires 5.6.1
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-DateTime-Event-Cron/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/p5-DateTime-Event-Cron/Makefile b/devel/p5-DateTime-Event-Cron/Makefile
index 68238414810d..2bfd0c64766f 100644
--- a/devel/p5-DateTime-Event-Cron/Makefile
+++ b/devel/p5-DateTime-Event-Cron/Makefile
@@ -26,9 +26,12 @@ MAN3= DateTime::Event::Cron.3
.include <bsd.port.pre.mk>
-# p5-DateTime-Set requires perl 5.6 or later
-.if ${PERL_LEVEL} < 500600
-IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if /use (5.006|warnings)/g;' \
+ -e 's/->\$$_->l/->{\$$_}->/g;' \
+ ${WRKSRC}/lib/DateTime/Event/Cron.pm
.endif
+
.include <bsd.port.post.mk>