CONTENTS
Lastmodified 2021-06-28 (月) 14:48:48
20131023 の/usr/ports/UPDATING で、AFFECTS: users of lang/perl5.12 lang/perl5.14 AUTHOR: mat@FreeBSD.org のものを、perl5.24 perl5.26 へ置き換えたものがこちら。
AFFECTS: users of lang/perl5.24 lang/perl5.26
The default perl has been switched to lang/perl5.26.
# pkg set -o lang/perl5.24:lang/perl5.26
If you're not using binary packages and want to (and should) switch, if you're using perl-5.24, for instance :
0) Fix pkgdb.db (for safety):
pkgdb -Ff
1) Reinstall new version of Perl (5.26):
portupgrade -o lang/perl5.26 -f perl-5.24.\*
2) Reinstall everything that depends on Perl:
portupgrade -fr perl
portmaster -o lang/perl5.26 lang/perl5.24 Conservative: portmaster p5- Comprehensive (but perhaps overkill): portmaster -r perl-
Note: If the "perl-" glob matches more than one port you will need to specify the name of the Perl directory in /var/db/pkg explicitly.
AFFECTS: users of lang/perl5* AUTHOR: mat@FreeBSD.org
The default Perl version has been switched to Perl 5.26. 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, follow the instructions in entry 20161103, it should still be the same.
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`
Total access 2741:本日 1:昨日 1