diff --git a/var/spack/repos/builtin/packages/stat/package.py b/var/spack/repos/builtin/packages/stat/package.py index f8d9dd2bab9..43294ce1117 100644 --- a/var/spack/repos/builtin/packages/stat/package.py +++ b/var/spack/repos/builtin/packages/stat/package.py @@ -49,6 +49,7 @@ class Stat(AutotoolsPackage): depends_on('py-xdot', when='@4.0.1:') depends_on('swig') depends_on('mpi', when='+examples') + depends_on('boost') patch('configure_mpicxx.patch', when='@2.1.0') @@ -60,6 +61,7 @@ def configure_args(self): "--with-graphlib=%s" % spec['graphlib'].prefix, "--with-stackwalker=%s" % spec['dyninst'].prefix, "--with-python=%s" % spec['python'].command.path, + "--with-boost=%s" % spec['boost'].prefix, ] if '+fgfs' in spec: args.append('--with-fgfs=%s'