only for perl 5.6 and higher

Noticed by: bento
This commit is contained in:
Edwin Groothuis 2003-05-08 23:28:50 +00:00
parent 3cb1fc6bb0
commit bb22599d96
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80477
2 changed files with 14 additions and 2 deletions

View file

@ -26,4 +26,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
.endif
.include <bsd.port.post.mk>

View file

@ -26,4 +26,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
.endif
.include <bsd.port.post.mk>