aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-05-31 17:02:11 +0800
committermat <mat@FreeBSD.org>2017-05-31 17:02:11 +0800
commit941d49b55e4c0a1e6dac5de36f53d18a4dd36b26 (patch)
treefaf6c5eaab16fc20bfc0219af5b56228e9ffb582 /Mk/Uses
parentb926d57ee7e20bda0d2b26931e3ba23dac5d8510 (diff)
downloadfreebsd-ports-gnome-941d49b55e4c0a1e6dac5de36f53d18a4dd36b26.tar.gz
freebsd-ports-gnome-941d49b55e4c0a1e6dac5de36f53d18a4dd36b26.tar.zst
freebsd-ports-gnome-941d49b55e4c0a1e6dac5de36f53d18a4dd36b26.zip
Introduce Perl 5.26.
A few important changes: - '.' is no longer in @INC. - "do" now gives a deprecation warning when it fails to load a file which it would have loaded had "." been in @INC. - In regular expression patterns, a literal left brace "{" should be escaped. Changes: https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod Sponsored by: Absolight
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/perl5.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index d4e6de2b1311..bca22045a9d6 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -57,6 +57,8 @@ THIS_IS_OLD_PERL= yes
.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.
@@ -91,7 +93,9 @@ 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
PERL_PORT?= perl5.22