1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

The correct way to check for Perl's version is with PERL_LEVEL.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-10-27 17:21:09 +00:00
parent 8c73a25496
commit 9800c2b8b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424777

View File

@ -36,7 +36,7 @@ PLIST_SUB= VERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${PERL_VER} >= 5.22
.if ${PERL_LEVEL} >= 502200
RUN_DEPENDS+= p5-CGI>0:www/p5-CGI
.endif