summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-11-23 16:09:28 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-11-23 16:09:28 -0800
commit98ccad8105d954341414b7737c343a0dd508b472 (patch)
tree65091690ae49829ad63b41efe1ff52435905cd09
parentde2213a6213d9b57ef1ddce4da8b51470d5195bc (diff)
parent150e43f3fdb99700288ddfda8b42dfb95d476eb7 (diff)
downloadspack-98ccad8105d954341414b7737c343a0dd508b472.tar.gz
spack-98ccad8105d954341414b7737c343a0dd508b472.tar.bz2
spack-98ccad8105d954341414b7737c343a0dd508b472.tar.xz
spack-98ccad8105d954341414b7737c343a0dd508b472.zip
Merge pull request #189 from mathstuf/openssl-use-64-bits
WIP: openssl: set KERNEL_BITS to make ./config work
-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 4bf1f832d4..43b8771be0 100644
--- a/var/spack/packages/openssl/package.py
+++ b/var/spack/packages/openssl/package.py
@@ -16,6 +16,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,