aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2022-03-05 04:08:26 +0000
committerYasuhiro Kimura <yasu@FreeBSD.org>2022-04-21 14:08:24 +0000
commiteca58e3768122a0ef093f62ad91760e4341f5df1 (patch)
tree2814dfd1bce5fa56f397f6a0a9fe91062d8196b8
parent72cd936929be68ab2d4a7a56eb6ca3d019905a5a (diff)
downloadports-eca58e3768122a0ef093f62ad91760e4341f5df1.tar.gz
ports-eca58e3768122a0ef093f62ad91760e4341f5df1.zip
Mk/bsd.default-versions.mk: Switch default version of Ruby from 2.7 to 3.0
How to upgrade is described in the entry of 20220421 in UPDATING. PR: 262350 Exp-run by: antoine
-rw-r--r--Mk/bsd.default-versions.mk2
-rw-r--r--UPDATING24
2 files changed, 25 insertions, 1 deletions
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 0c6bff24d655..4365b31ef1c4 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -116,7 +116,7 @@ PYTHON2_DEFAULT?= 2.7
# Possible values: 3.7, 3.8, 3.9, 3.10, 3.11
PYTHON3_DEFAULT?= 3.8
# Possible values: 2.7, 3.0, 3.1, 3.2
-RUBY_DEFAULT?= 2.7
+RUBY_DEFAULT?= 3.0
# Possible values: rust, rust-nightly
RUST_DEFAULT?= rust
# Possible values: 4.12, 4.13
diff --git a/UPDATING b/UPDATING
index 846f358bee0b..8a93551c070f 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,30 @@ 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.
+20220421:
+ AFFECTS: users of lang/ruby27
+ AUTHOR: yasu@FreeBSD.org
+
+ The default ruby version has been updated from 2.7 to 3.0.
+
+ If you compile your own ports you may keep 2.7 as the default version by
+ adding the following lines to your /etc/make.conf file:
+
+ #
+ # Keep ruby 2.7 as default version
+ #
+ DEFAULT_VERSIONS+=ruby=2.7
+
+ If you wish to update to the new default version, you need to first stop any
+ software that uses ruby. Then, you will need to follow these steps, depending
+ upon how you manage your system.
+
+ If you use pkg, simply upgrade:
+ # pkg upgrade
+
+ If you do not use pkg, please check entry 20190420.
+ The description there should also work for this version.
+
20220413:
AFFECTS: users of net-im/py-matrix-synapse
AUTHOR: ports@skyforge.at