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 15:33:49 UTC 2015


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

# Adam


-- 
Adam Weinberger
adamw at adamw.org
http://www.adamw.org





More information about the svn-ports-head mailing list