aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-11-03 14:34:13 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-11-03 14:34:13 +0000
commita388101485fd695ce241a769acf40514397aa291 (patch)
tree375feeb43e4adef0e6a0fe3a6ada63e7e5baef11
parent7f3acc0cfe423f3f79806e2635f94343c208e9b4 (diff)
downloadports-a388101485fd695ce241a769acf40514397aa291.tar.gz
ports-a388101485fd695ce241a769acf40514397aa291.zip
Change the default Perl version to 5.24.
We have been stuck with Perl 5.20 for too long. Now that the main problem, mod_perl2, has been updated to work with Perl 5.22+, we can go and live with a modern Perl. PR: 213810 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=425221
-rw-r--r--Mk/bsd.default-versions.mk2
-rw-r--r--UPDATING35
2 files changed, 36 insertions, 1 deletions
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 4669c3926b46..bb5b14d45412 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -54,7 +54,7 @@ MYSQL_DEFAULT?= 5.6
# Possible values: 5.18, 5.20, 5.22, devel
.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
defined(PACKAGE_BUILDING))
-PERL5_DEFAULT?= 5.20
+PERL5_DEFAULT?= 5.24
.elif !defined(PERL5_DEFAULT)
# There's no need to replace development versions, like "5.23" with "devel"
# because 1) nobody is supposed to use it outside of poudriere, and 2) it must
diff --git a/UPDATING b/UPDATING
index 75957b06592a..00d1fca3ea4d 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,41 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
+20150513:
+ AFFECTS: users of lang/perl5*
+ AUTHOR: mat@FreeBSD.org
+
+ The default Perl version has been switched to Perl 5.24. If you are using
+ binary packages to upgrade your system, you do not have anything to do, pkg
+ upgrade will do the right thing. For the other people, assuming you are
+ migrating from 5.20 to 5.24, do:
+
+ First, add to /etc/make.conf:
+
+ DEFAULT_VERSIONS+= perl5=5.24
+
+ Portupgrade users:
+ portupgrade -o lang/perl5.24 -f lang/perl5.20
+
+ You can now remove the DEFAULT_VERSIONS line added earlier
+ from /etc/make.conf
+
+ Then you will need to rebuild everything that uses libperl.so, you
+ can do so with:
+
+ portupgrade -f `pkg shlib -qR libperl.so.5.20`
+
+ Portmaster users:
+ portmaster -o lang/perl5.24 lang/perl5.20
+
+ You can now remove the DEFAULT_VERSIONS line added earlier
+ from /etc/make.conf
+
+ Then you will need to rebuild everything that uses libperl.so, you
+ can do so with:
+
+ portmaster -f `pkg shlib -qR libperl.so.5.20`
+
20161102:
AFFECTS: users of security/acme-client
AUTHOR: brnrd@FreeBSD.org