1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Require perl 5.6.1.

PR:		52074
Submitted by:	"Miguel Mendez" <flynn@energyhq.es.eu.org>
This commit is contained in:
Pete Fritchman 2003-05-11 16:48:18 +00:00
parent 325927942c
commit 4bb8a19312
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80677

View File

@ -22,6 +22,12 @@ NO_BUILD= yes
USE_PERL5= yes
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
IGNORE= Port requires perl 5.6.1 or later. Install lang/perl5 then try again
.endif
post-patch:
# fix location of PERL
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl
@ -38,4 +44,4 @@ do-install:
.endfor
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>