Date: Mon, 14 Sep 2015 11:34:40 -0400 From: "Philip M. Gollucci" <pgollucci@p6m7g8.com> To: Adam Weinberger <adamw@adamw.org> Cc: Mathieu Arnold <mat@freebsd.org>, "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@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: <CACM2dAYBsMg8WCXaSi=PbyPG8RGCOwfM0OtbXiDwCfarZe0d6g@mail.gmail.com> In-Reply-To: <37E1C84C-E8F5-460C-A163-3C574F7B5090@adamw.org> References: <201509141219.t8ECJor0050917@repo.freebsd.org> <37E1C84C-E8F5-460C-A163-3C574F7B5090@adamw.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I agree. On Monday, September 14, 2015, Adam Weinberger <adamw@adamw.org> wrote: > > On 14 Sep, 2015, at 6:19, Mathieu Arnold <mat@FreeBSD.org> wrote: > > > > +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. From 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+= perl5=5.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= perl5=5.22 will make /usr/local/bin/perl come back. > > > From 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: > From 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 > > > -- > Adam Weinberger > adamw@adamw.org <javascript:;> > http://www.adamw.org > > > > _______________________________________________ > svn-ports-all@freebsd.org <javascript:;> mailing list > https://lists.freebsd.org/mailman/listinfo/svn-ports-all > To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org > <javascript:;>" > -- --------------------------------------------------------------------------------- Curb: Your ride is here 4096R/D21D2752 <http://pgp.mit.edu/pks/lookup?op=get&search=0xF699A450D21D2752> ECDF B597 B54B 7F92 753E E0EA F699 A450 D21D 2752 Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354 Member, Apache Software Foundation Committer, FreeBSD Foundation Consultant, P6M7G8 Inc. Sr. Director IT Operations, Curb What doesn't kill us can only make us stronger; Except it almost kills you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACM2dAYBsMg8WCXaSi=PbyPG8RGCOwfM0OtbXiDwCfarZe0d6g>