summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2015-11-19 17:51:44 -0500
committerBen Boeckel <ben.boeckel@kitware.com>2015-11-19 17:51:44 -0500
commit150e43f3fdb99700288ddfda8b42dfb95d476eb7 (patch)
tree6ce4c0eca07d874983434091f1ce065974361970
parent8feaefadcfcae04ccaa204b93502e23158f7a7d4 (diff)
downloadspack-150e43f3fdb99700288ddfda8b42dfb95d476eb7.tar.gz
spack-150e43f3fdb99700288ddfda8b42dfb95d476eb7.tar.bz2
spack-150e43f3fdb99700288ddfda8b42dfb95d476eb7.tar.xz
spack-150e43f3fdb99700288ddfda8b42dfb95d476eb7.zip
WIP: openssl: set KERNEL_BITS to make ./config work
Why OpenSSL refuses to build without this (it explicitly warns about it) is a mystery.
-rw-r--r--var/spack/packages/openssl/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/packages/openssl/package.py b/var/spack/packages/openssl/package.py
index c5a8aeb9dc..f17d0a2794 100644
--- a/var/spack/packages/openssl/package.py
+++ b/var/spack/packages/openssl/package.py
@@ -15,6 +15,8 @@ class Openssl(Package):
parallel = False
def install(self, spec, prefix):
+ env['KERNEL_BITS'] = '64' # Only on 64-bit Mac
+
config = Executable("./config")
config("--prefix=%s" % prefix,
"--openssldir=%s/etc/openssl" % prefix,