summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-12-02 14:25:52 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2014-12-02 14:25:52 -0800
commit0c12e26026cd8262be6f678da437430c76293e47 (patch)
tree76e3e2861160194131c221557e35558f87b52035 /var
parente71cf672f19565b8cc5b7f1aaec33dca6a3a74f4 (diff)
downloadspack-0c12e26026cd8262be6f678da437430c76293e47.tar.gz
spack-0c12e26026cd8262be6f678da437430c76293e47.tar.bz2
spack-0c12e26026cd8262be6f678da437430c76293e47.tar.xz
spack-0c12e26026cd8262be6f678da437430c76293e47.zip
Bugfix in boost build.
- b2 used to be called bjam
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/boost/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/packages/boost/package.py b/var/spack/packages/boost/package.py
index d3231c3baa..254d1afda1 100644
--- a/var/spack/packages/boost/package.py
+++ b/var/spack/packages/boost/package.py
@@ -53,7 +53,10 @@ class Boost(Package):
bootstrap = Executable('./bootstrap.sh')
bootstrap()
- b2 = Executable('./b2')
+ # b2 used to be called bjam, before 1.47 (sigh)
+ b2name = './b2' if spec.satisfies('@1.47:') else './bjam'
+
+ b2 = Executable(b2name)
b2('install',
'-j %s' % make_jobs,
'--prefix=%s' % prefix)