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
This commit is contained in:
Yasuhiro Kimura 2022-03-05 13:08:26 +09:00
parent 72cd936929
commit eca58e3768
2 changed files with 25 additions and 1 deletions

View file

@ -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

View file

@ -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