aboutsummaryrefslogtreecommitdiffstats
path: root/science/metaf2xml
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-10-28 01:21:09 +0800
committermat <mat@FreeBSD.org>2016-10-28 01:21:09 +0800
commit11aa99216b9e570c91bc97c35203611446009067 (patch)
tree77f5b0a135253252e3b6cb07de06fc3760eda243 /science/metaf2xml
parent9eb180589f7edf5f1f66404767e9a15e594c7d37 (diff)
downloadfreebsd-ports-gnome-11aa99216b9e570c91bc97c35203611446009067.tar.gz
freebsd-ports-gnome-11aa99216b9e570c91bc97c35203611446009067.tar.zst
freebsd-ports-gnome-11aa99216b9e570c91bc97c35203611446009067.zip
The correct way to check for Perl's version is with PERL_LEVEL.
Sponsored by: Absolight
Diffstat (limited to 'science/metaf2xml')
-rw-r--r--science/metaf2xml/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/science/metaf2xml/Makefile b/science/metaf2xml/Makefile
index 2aa75f95b99e..5b462cb6d890 100644
--- a/science/metaf2xml/Makefile
+++ b/science/metaf2xml/Makefile
@@ -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