diff options
author | Erik Schnetter <schnetter@gmail.com> | 2017-01-20 16:57:15 -0500 |
---|---|---|
committer | becker33 <becker33@llnl.gov> | 2017-01-20 13:57:15 -0800 |
commit | 19699a7607689d11dd66b21b8755e92d98c2b494 (patch) | |
tree | fdcab5a58401e77f5fa2c29c247198476238513a | |
parent | 3e8106955b9077bd9b95837b63de4577d896c194 (diff) | |
download | spack-19699a7607689d11dd66b21b8755e92d98c2b494.tar.gz spack-19699a7607689d11dd66b21b8755e92d98c2b494.tar.bz2 spack-19699a7607689d11dd66b21b8755e92d98c2b494.tar.xz spack-19699a7607689d11dd66b21b8755e92d98c2b494.zip |
libevent: Properly declare OpenSSL dependency version bounds (#2888)
* libevent: Properly declare OpenSSL dependency version bounds
* libevent: Handle ~openssl variant correctly
-rw-r--r-- | var/spack/repos/builtin/packages/libevent/package.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/libevent/package.py b/var/spack/repos/builtin/packages/libevent/package.py index 415e905c12..f06c46a715 100644 --- a/var/spack/repos/builtin/packages/libevent/package.py +++ b/var/spack/repos/builtin/packages/libevent/package.py @@ -48,9 +48,10 @@ class Libevent(AutotoolsPackage): version('2.0.13', 'af786b4b3f790c9d3279792edf7867fc') version('2.0.12', '42986228baf95e325778ed328a93e070') + # Does not build with OpenSSL 1.1.0 variant('openssl', default=True, description="Build with encryption enabled at the libevent level.") - depends_on('openssl', when='+openssl') + depends_on('openssl @:1.0', when='+openssl') def configure_args(self): spec = self.spec @@ -58,6 +59,6 @@ class Libevent(AutotoolsPackage): if '+openssl' in spec: configure_args.append('--enable-openssl') else: - configure_args.append('--enable-openssl') + configure_args.append('--disable-openssl') return configure_args |