aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-DateTime-Event-Recurrence
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2003-09-04 19:29:25 +0800
committermat <mat@FreeBSD.org>2003-09-04 19:29:25 +0800
commit06f114fda57352b264791718215152fedbf95616 (patch)
tree53520cc774fabc4360fe21c222533d778debf306 /devel/p5-DateTime-Event-Recurrence
parent74db712c7876e8200185ca54e68d8efd453f4f19 (diff)
downloadfreebsd-ports-gnome-06f114fda57352b264791718215152fedbf95616.tar.gz
freebsd-ports-gnome-06f114fda57352b264791718215152fedbf95616.tar.zst
freebsd-ports-gnome-06f114fda57352b264791718215152fedbf95616.zip
No longer requires 5.6.1
Diffstat (limited to 'devel/p5-DateTime-Event-Recurrence')
-rw-r--r--devel/p5-DateTime-Event-Recurrence/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/p5-DateTime-Event-Recurrence/Makefile b/devel/p5-DateTime-Event-Recurrence/Makefile
index 5fbad3f99ee3..1d0036fc2e40 100644
--- a/devel/p5-DateTime-Event-Recurrence/Makefile
+++ b/devel/p5-DateTime-Event-Recurrence/Makefile
@@ -25,9 +25,10 @@ MAN3= DateTime::Event::Recurrence.3
.include <bsd.port.pre.mk>
-# Depends on devel/p5-DateTime-Set which requires perl >= 5.6
.if ${PERL_LEVEL} < 500600
-IGNORE= Port requires perl 5.6.x or later. Install lang/perl5 then try again
+post-patch:
+ ${PERL} -p -i.orig -e 's/(\$$\w+(?:-\>)?{\s*(?:\$$?\w+|\$$\w+->{\w+}\[\$$\w+\])\s*})\(/\&{$$1}(/g;' \
+ ${WRKSRC}/lib/DateTime/Event/Recurrence.pm
.endif
.include <bsd.port.post.mk>