diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/packages/boost/package.py | 5 |
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) |