Date: Mon, 14 Sep 2015 10:32:21 -0600 From: Adam Weinberger <adamw@adamw.org> To: Mathieu Arnold <mat@FreeBSD.org> Cc: "Philip M. Gollucci" <pgollucci@p6m7g8.com>, svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@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: <CE8424AE-03DA-46FD-8D06-71BD65DA63D7@adamw.org> In-Reply-To: <D2DB095D9C51B06C9E5A4994@ogg.in.absolight.net> References: <201509141219.t8ECJor0050917@repo.freebsd.org> <37E1C84C-E8F5-460C-A163-3C574F7B5090@adamw.org> <CACM2dAYBsMg8WCXaSi=PbyPG8RGCOwfM0OtbXiDwCfarZe0d6g@mail.gmail.com> <D2DB095D9C51B06C9E5A4994@ogg.in.absolight.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 14 Sep, 2015, at 9:51, Mathieu Arnold <mat@FreeBSD.org> wrote: >=20 > +--On 14 septembre 2015 11:34:40 -0400 "Philip M. Gollucci" > <pgollucci@p6m7g8.com> wrote: > | On Monday, September 14, 2015, Adam Weinberger <adamw@adamw.org> = wrote: > |=20 > |> > 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. > |>=20 > |> 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. > |>=20 > |> > =46rom now on, only the default Perl version will install > |> /usr/local/bin/perl. > |>=20 > |> 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. > |>=20 > |> 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. > |>=20 > |> and later: > |> you MUST add a line setting the version you are using to = your > |> /etc/make.conf, to preserve /usr/local/bin/perl: > |>=20 > | I agree. >=20 > Feel free to correct my english. >=20 > --=20 > Mathieu Arnold Done. Thanks, Mat. I had a mini heart attack this morning thinking that /usr/local/bin/perl = would only exist for 5.20 :-) # 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?CE8424AE-03DA-46FD-8D06-71BD65DA63D7>