Ports are requesting perl 5.20.2 even if perl 5.22 is installed and set as default

Mattia Rossi mattia.rossi.mailinglists at gmail.com
Thu Oct 1 12:48:52 UTC 2015


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.



More information about the freebsd-ports mailing list