summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/hwloc/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/hwloc/package.py')
-rw-r--r--var/spack/repos/builtin/packages/hwloc/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hwloc/package.py b/var/spack/repos/builtin/packages/hwloc/package.py
index 4b6e998c42..fcfb3ac64c 100644
--- a/var/spack/repos/builtin/packages/hwloc/package.py
+++ b/var/spack/repos/builtin/packages/hwloc/package.py
@@ -91,6 +91,10 @@ class Hwloc(AutotoolsPackage):
depends_on('cairo', when='+cairo')
depends_on('numactl', when='@:1.11.11 platform=linux')
+ # see https://github.com/open-mpi/hwloc/pull/417
+ depends_on('ncurses ~termlib', when='@:2.2')
+ depends_on('ncurses')
+
# When mpi=openmpi, this introduces an unresolvable dependency.
# See https://github.com/spack/spack/issues/15836 for details
depends_on('mpi', when='+netloc')