aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2017-06-02 20:41:34 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2017-06-02 20:41:34 +0800
commit8154fa0789dd6f82941966545e3903813a7f4b06 (patch)
tree87e72c6b95cd79a248586a8e42873389c3659c17 /Mk/Uses
parent29dc3def23b5395ca1ff32fa9c1cb5ee0f0ab9c1 (diff)
parent281934daf27b06ec7e0de2e1bd3b728ce8a56ebc (diff)
downloadfreebsd-ports-gnome-8154fa0789dd6f82941966545e3903813a7f4b06.tar.gz
freebsd-ports-gnome-8154fa0789dd6f82941966545e3903813a7f4b06.tar.zst
freebsd-ports-gnome-8154fa0789dd6f82941966545e3903813a7f4b06.zip
Merge branch 'master' into gstreamer
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/perl5.mk22
1 files changed, 7 insertions, 15 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index d4e6de2b1311..1b22c9602a49 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -42,21 +42,14 @@ IGNORE= Incorrect 'USES+=perl5:${perl5_ARGS}' perl5 takes no arguments
USE_PERL5?= run build
-# remove when 5.20 goes away.
-.sinclude "${LOCALBASE}/etc/perl5_version"
-. if defined(PERL_VERSION)
-PERL5_DEPEND= ${PERL5}
-THIS_IS_OLD_PERL= yes
-. else
-# end of remove
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
-. if ${PERL5_DEFAULT} == 5.20
-.include "${PORTSDIR}/lang/perl5.20/version.mk"
-. elif ${PERL5_DEFAULT} == 5.22
+. if ${PERL5_DEFAULT} == 5.22
.include "${PORTSDIR}/lang/perl5.22/version.mk"
. elif ${PERL5_DEFAULT} == 5.24
.include "${PORTSDIR}/lang/perl5.24/version.mk"
+. elif ${PERL5_DEFAULT} == 5.26
+.include "${PORTSDIR}/lang/perl5.26/version.mk"
. elif ${PERL5_DEFAULT} == devel
.include "${PORTSDIR}/lang/perl5-devel/version.mk"
# Force PERL_PORT here in case two identical PERL_VERSION.
@@ -64,7 +57,6 @@ PERL_PORT?= perl5-devel
. else
IGNORE= Invalid perl5 version ${PERL5_DEFAULT}
. endif
-. endif
PERL_VER?= ${PERL_VERSION:C/\.[0-9]+$//}
@@ -91,12 +83,12 @@ PERL_ARCH?= mach
# perl5_default file, or up there in the default versions selection.
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
-. if ${PERL_LEVEL} >= 502400
+. if ${PERL_LEVEL} >= 502600
+PERL_PORT?= perl5.26
+. elif ${PERL_LEVEL} >= 502400
PERL_PORT?= perl5.24
-. elif ${PERL_LEVEL} >= 502200
+. else # ${PERL_LEVEL} < 502400
PERL_PORT?= perl5.22
-. else # ${PERL_LEVEL} < 502200
-PERL_PORT?= perl5.20
. endif
SITE_PERL_REL?= lib/perl5/site_perl