perl-net-ssleay: fix build (#9783)
- Add 1.85 - OPENSSL_PREFIX has to be set in the environment, otherwise Spack's openssl will not be found
This commit is contained in:
parent
e1f9ddd574
commit
eddba22e1c
@ -13,6 +13,7 @@ class PerlNetSsleay(PerlPackage):
|
||||
homepage = "http://search.cpan.org/~mikem/Net-SSLeay-1.82/lib/Net/SSLeay.pod"
|
||||
url = "http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-1.82.tar.gz"
|
||||
|
||||
version('1.85', '9d8188b9fb1cae3bd791979c20554925d5e94a138d00414f1a6814549927b0c8')
|
||||
version('1.82', '2170469d929d5173bacffd0cb2d7fafa')
|
||||
|
||||
depends_on('openssl')
|
||||
@ -28,6 +29,6 @@ def configure(self, spec, prefix):
|
||||
f.writelines(config_answers)
|
||||
|
||||
with open(config_answers_filename, 'r') as f:
|
||||
env['OPENSSL_PREFIX'] = self.spec['openssl'].prefix
|
||||
inspect.getmodule(self).perl('Makefile.PL', 'INSTALL_BASE={0}'.
|
||||
format(prefix), 'OPENSSL_PREFIX=%s' %
|
||||
self.spec['openssl'].prefix, input=f)
|
||||
format(prefix), input=f)
|
||||
|
Loading…
Reference in New Issue
Block a user