Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 2015 14:48:49 +0200
From:      Mattia Rossi <mattia.rossi.mailinglists@gmail.com>
To:        ports@freebsd.org, freebsd-ports@freebsd.org
Subject:   Ports are requesting perl 5.20.2 even if perl 5.22 is installed and set as default
Message-ID:  <560D2BB1.8050000@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I can't seem to get the following issue fixed:

I've installed perl5.22 as default with the following in /etc/make.conf

WITH_OPENSSL_PORT="YES"
DEFAULT_VERSIONS+=perl5=5.22

If I try to install OpenSSL (or any other port depending on perl5) they 
always want to install perl5.20, and, even more interesting perl 5.20.2, 
which is not in ports anymore (it's 5.20.3). The following error shows up:

  openssl-1.0.2_4 depends on file: /usr/local/bin/perl5.20.2 - not found
##################################################

       This is *NOT* the DEFAULT perl version

It will *NOT* install /usr/local/bin/perl

It will *ONLY* install /usr/local/bin/perl5.20.3

The default Perl version currently is 5.22.

If you want to use this version as the default,
stop the build now, add this line to your
/etc/make.conf, and then restart the build.

DEFAULT_VERSIONS+=perl5=5.20

##################################################

This tells me, that the DEFAULT_VERSIONS variable works well. So why are 
my ports looking for perl 5.20.2?
Obviously installing perl 5.20 doesn't help eitehr, as it installs 
5.20.3... so I'm locked in a loop, with the port failing after the perl 
install and on a rerun installing perl again.

Help?

Mat

Btw. I'm on HEAD, r288210, and I've deleted all installed packages and 
was trying to rebuild everything. I've recreated the ports tree 
(portsnap fetch extract), but the error persists.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?560D2BB1.8050000>