summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2019-11-06 20:24:33 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-06 13:24:33 -0600
commit6d6716e302b8358366d65d6adc45c117610e84cb (patch)
tree9f3975b182cf04574893db503836a67e53fbf532 /var
parent0d35ae7f5f760c7afa2a68dc8dfed1062590d15d (diff)
downloadspack-6d6716e302b8358366d65d6adc45c117610e84cb.tar.gz
spack-6d6716e302b8358366d65d6adc45c117610e84cb.tar.bz2
spack-6d6716e302b8358366d65d6adc45c117610e84cb.tar.xz
spack-6d6716e302b8358366d65d6adc45c117610e84cb.zip
ncview: Fix dependency check (#13615)
netcdf has been renamed to netcdf-c.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ncview/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ncview/package.py b/var/spack/repos/builtin/packages/ncview/package.py
index 96666a29be..9245a26750 100644
--- a/var/spack/repos/builtin/packages/ncview/package.py
+++ b/var/spack/repos/builtin/packages/ncview/package.py
@@ -23,7 +23,7 @@ class Ncview(AutotoolsPackage):
config_args = []
- if spec.satisfies('^netcdf+mpi'):
+ if spec.satisfies('^netcdf-c+mpi'):
config_args.append('CC={0}'.format(spec['mpi'].mpicc))
return config_args