#17045 closed defect (fixed)
p5-net-ssleay-1.35 uses hardcoded /opt/local
Reported by: | dreamind@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | p5-net-ssleay |
Description (last modified by blb@…)
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 ---
Change History (2)
comment:1 Changed 16 years ago by blb@…
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Fixed in r41295, thanks for catching this.