mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
No longer requires 5.6.1
This commit is contained in:
parent
4f84500517
commit
c36f76fb7f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88513
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user