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...
Adam Weinberger
adamw at adamw.org
Mon Sep 14 16:32:27 UTC 2015
> On 14 Sep, 2015, at 9:51, Mathieu Arnold <mat at FreeBSD.org> wrote:
>
> +--On 14 septembre 2015 11:34:40 -0400 "Philip M. Gollucci"
> <pgollucci at p6m7g8.com> wrote:
> | On Monday, September 14, 2015, Adam Weinberger <adamw at adamw.org> wrote:
> |
> |> > On 14 Sep, 2015, at 6:19, Mathieu Arnold <mat at FreeBSD.org> wrote:
> |> >
> |> > +20150914:
> |> > + AFFECTS: users of lang/perl5*
> |> > + AUTHOR: mat at 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:
> |>
> | I agree.
>
> Feel free to correct my english.
>
> --
> 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
--
Adam Weinberger
adamw at adamw.org
http://www.adamw.org
More information about the svn-ports-all
mailing list