Make OpenSSL tests optional (#2939)
* Make OpenSSL tests optional * Add version constraint to Perl dependency in OpenSSL
This commit is contained in:
parent
58a4c5c14d
commit
75763bb8e3
1 changed files with 6 additions and 3 deletions
|
@ -52,8 +52,10 @@ class Openssl(Package):
|
||||||
version('1.0.1r', '1abd905e079542ccae948af37e393d28')
|
version('1.0.1r', '1abd905e079542ccae948af37e393d28')
|
||||||
version('1.0.1h', '8d6d684a9430d5cc98a62a5d8fbda8cf')
|
version('1.0.1h', '8d6d684a9430d5cc98a62a5d8fbda8cf')
|
||||||
|
|
||||||
depends_on("zlib")
|
depends_on('zlib')
|
||||||
depends_on("perl", type='build')
|
|
||||||
|
# 'make test' requires Test::More version 0.96
|
||||||
|
depends_on('perl@5.14.0:', type='build')
|
||||||
|
|
||||||
parallel = False
|
parallel = False
|
||||||
|
|
||||||
|
@ -88,5 +90,6 @@ def install(self, spec, prefix):
|
||||||
filter_file(r'-arch x86_64', '', 'Makefile')
|
filter_file(r'-arch x86_64', '', 'Makefile')
|
||||||
|
|
||||||
make()
|
make()
|
||||||
|
if self.run_tests:
|
||||||
make('test') # 'VERBOSE=1'
|
make('test') # 'VERBOSE=1'
|
||||||
make('install')
|
make('install')
|
||||||
|
|
Loading…
Reference in a new issue