summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2016-01-08 22:41:18 -0500
committerErik Schnetter <schnetter@gmail.com>2016-01-08 22:41:18 -0500
commitd5ff7fda6ec26df1e574ef9fc38ffc082ec2daca (patch)
tree4bd510c3dce4fff82f6fa5ebb0a777b6ef75d226
parent7ad3e2b56bca4aca3a1ed5a157380070ea17514f (diff)
downloadspack-d5ff7fda6ec26df1e574ef9fc38ffc082ec2daca.tar.gz
spack-d5ff7fda6ec26df1e574ef9fc38ffc082ec2daca.tar.bz2
spack-d5ff7fda6ec26df1e574ef9fc38ffc082ec2daca.tar.xz
spack-d5ff7fda6ec26df1e574ef9fc38ffc082ec2daca.zip
Ensure the APPS environment variable is not set when building OpenSSL
-rw-r--r--var/spack/packages/openssl/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/packages/openssl/package.py b/var/spack/packages/openssl/package.py
index a24de20cc3..36b63e1262 100644
--- a/var/spack/packages/openssl/package.py
+++ b/var/spack/packages/openssl/package.py
@@ -17,6 +17,10 @@ class Openssl(Package):
parallel = False
def install(self, spec, prefix):
+ # OpenSSL uses a variable APPS in its Makefile. If it happens to be set
+ # in the environment, then this will override what is set in the
+ # Makefile, leading to build errors.
+ del env['APPS']
if spec.satisfies("=darwin-x86_64") or spec.satisfies("=ppc64"):
# This needs to be done for all 64-bit architectures (except Linux,
# where it happens automatically?)