[MacPorts] #17045: p5-net-ssleay-1.35 uses hardcoded /opt/local
#17045: p5-net-ssleay-1.35 uses hardcoded /opt/local ----------------------------------+----------------------------------------- Reporter: dreamind@dreamind.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: p5-net-ssleay ----------------------------------+----------------------------------------- p5-net-ssleay uses a hardcoded /opt/local path for openssl (and a patch to replace /usr with /opt/local). Instead the environment variable OPENSSL_PREFIX should be used and this should work with any installation path of MacPorts. --- snip --- dreamind@paris:~% sudo port upgrade p5-net-ssleay---> Configuring p5-net- ssleay Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/MacPorts/var/macports/build/_opt_MacPorts_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -net-ssleay/work/Net-SSLeay-1.35" && /opt/MacPorts/bin/perl Makefile.PL INSTALLDIRS=vendor " returned error 2 Command output: Cannot determine perl version info from lib/Net/SSLeay.pm Cannot determine license info from lib/Net/SSLeay.pm *** Could not find OpenSSL If it's already installed, please set the OPENSSL_PREFIX environment variable accordingly. If it isn't installed yet, get the latest version from http://www.openssl.org/. Error: Unable to upgrade port: 1 --- snap --- -- Ticket URL: <http://trac.macports.org/ticket/17045> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17045: p5-net-ssleay-1.35 uses hardcoded /opt/local -----------------------------------+---------------------------------------- Reporter: dreamind@dreamind.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: p5-net-ssleay | -----------------------------------+---------------------------------------- Changes (by blb@macports.org): * status: new => closed * resolution: => fixed Old description:
p5-net-ssleay uses a hardcoded /opt/local path for openssl (and a patch to replace /usr with /opt/local).
Instead the environment variable OPENSSL_PREFIX should be used and this should work with any installation path of MacPorts.
--- snip --- dreamind@paris:~% sudo port upgrade p5-net-ssleay---> Configuring p5 -net-ssleay Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/MacPorts/var/macports/build/_opt_MacPorts_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -net-ssleay/work/Net-SSLeay-1.35" && /opt/MacPorts/bin/perl Makefile.PL INSTALLDIRS=vendor " returned error 2 Command output: Cannot determine perl version info from lib/Net/SSLeay.pm Cannot determine license info from lib/Net/SSLeay.pm *** Could not find OpenSSL If it's already installed, please set the OPENSSL_PREFIX environment variable accordingly. If it isn't installed yet, get the latest version from http://www.openssl.org/.
Error: Unable to upgrade port: 1 --- snap ---
New description: p5-net-ssleay uses a hardcoded /opt/local path for openssl (and a patch to replace /usr with /opt/local). Instead the environment variable OPENSSL_PREFIX should be used and this should work with any installation path of MacPorts. {{{ --- snip --- dreamind@paris:~% sudo port upgrade p5-net-ssleay---> Configuring p5-net- ssleay Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/MacPorts/var/macports/build/_opt_MacPorts_var_macports_sources_rsync.macports.org_release_ports_perl_p5 -net-ssleay/work/Net-SSLeay-1.35" && /opt/MacPorts/bin/perl Makefile.PL INSTALLDIRS=vendor " returned error 2 Command output: Cannot determine perl version info from lib/Net/SSLeay.pm Cannot determine license info from lib/Net/SSLeay.pm *** Could not find OpenSSL If it's already installed, please set the OPENSSL_PREFIX environment variable accordingly. If it isn't installed yet, get the latest version from http://www.openssl.org/. Error: Unable to upgrade port: 1 --- snap --- }}} -- Comment: Fixed in r41295, thanks for catching this. -- Ticket URL: <http://trac.macports.org/ticket/17045#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts