Date: Mon, 14 Sep 2015 09:33:37 -0600 From: Adam Weinberger <adamw@adamw.org> To: Mathieu Arnold <mat@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r396892 - in head: . Mk Mk/Uses astro/p5-Astro-ADS astro/p5-Astro-PAL astro/p5-Astro-SIMBAD-Client astro/p5-Astro-SpaceTrack astro/p5-Astro-satpass audio/mp3-archive-tools audio/mp3lint... Message-ID: <37E1C84C-E8F5-460C-A163-3C574F7B5090@adamw.org> In-Reply-To: <201509141219.t8ECJor0050917@repo.freebsd.org> References: <201509141219.t8ECJor0050917@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 14 Sep, 2015, at 6:19, Mathieu Arnold <mat@FreeBSD.org> wrote: >=20 > +20150914: > + AFFECTS: users of lang/perl5* > + AUTHOR: mat@FreeBSD.org > + > + Binary package users can ignore this. > + > + The way lang/perl5* ports install themselves has changed. =46rom = now on, only > + the default Perl version will install /usr/local/bin/perl. > + > + If you are NOT using the default version of Perl (as of right now, = it is > + 5.20) you MUST add a line setting the version you are using to your > + /etc/make.conf: > + > + DEFAULT_VERSIONS+=3D perl5=3D5.xx > + > + Especially, after this date, to migrate from one Perl version to = the other, > + you must first put the DEFAULT_VERSIONS line in your make.conf, and = then, for > + example, if you want to move from 5.20 to 5.22, do: > + > + pkg set -o lang/perl5.20:lang/perl5.22 > + portmaster `pkg shlib -qR libperl.so.5.20` > + > + If you do not do that, you will replace your default Perl 5.20 = installation > + (one that has /usr/local/bin/perl) to an installation that does not = have > + /usr/local/bin/perl, and it will break everything. Mat, there is some critically confusing wording here. When you say = "default Perl version" it kindof implies lang/perl5.20 as that is the = default version of Perl. No part of the instructions says explicitly = that setting DEFAULT_VERSION=3D perl5=3D5.22 will make = /usr/local/bin/perl come back. > =46rom now on, only the default Perl version will install = /usr/local/bin/perl. The way it's written now makes it sound like if you have anything but = 5.20 installed, /usr/local/bin/perl is going to disappear, which will = break every userland (non-ports) perl script. I strongly recommend changing it to something like: =46rom now on, only the default Perl port (currently 5.20), or = the version listed in DEFAULT_VERSIONS, will install = /usr/local/bin/perl. and later: you MUST add a line setting the version you are using to your /etc/make.conf, to preserve /usr/local/bin/perl: # Adam --=20 Adam Weinberger adamw@adamw.org http://www.adamw.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37E1C84C-E8F5-460C-A163-3C574F7B5090>