CONTENTS


Lastmodified 2021-06-28 (月) 14:48:48


Perl 5.24 to 5.26

First, add to /etc/make.conf:

DEFAULT_VERSIONS+=  perl5=5.26

Portupgrade users:

portupgrade -o lang/perl5.26 -f lang/perl5.24

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.24`

20180330:

 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.

20161103:

 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`

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.

If you're using binary packages, you need to do :

# 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 :

Portupgrade users:

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 users:

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.


Total access 2530:本日 1:昨日 1

Counter: 2530, today: 1, yesterday: 1

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS