diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2003-09-04 11:06:26 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2003-09-04 11:06:26 +0000 |
commit | c36f76fb7fe62e2825ccb65c5a81e87336f43bb8 (patch) | |
tree | 19eb0e10f297eb8aa338b98f65bf14c10f1aa792 /devel/p5-DateTime-Event-Cron | |
parent | 4f84500517a573926b33c43577cf73d4b7b7e4a2 (diff) | |
download | ports-c36f76fb7fe62e2825ccb65c5a81e87336f43bb8.tar.gz ports-c36f76fb7fe62e2825ccb65c5a81e87336f43bb8.zip |
Notes
Diffstat (limited to 'devel/p5-DateTime-Event-Cron')
-rw-r--r-- | devel/p5-DateTime-Event-Cron/Makefile | 9 |
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> |