summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/netcdf-fortran/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/netcdf-fortran/package.py b/var/spack/repos/builtin/packages/netcdf-fortran/package.py
index f4bfe9a979..74347136dd 100644
--- a/var/spack/repos/builtin/packages/netcdf-fortran/package.py
+++ b/var/spack/repos/builtin/packages/netcdf-fortran/package.py
@@ -33,7 +33,7 @@ class NetcdfFortran(AutotoolsPackage):
# https://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html
depends_on('mpi', when='+mpi')
- depends_on('netcdf-c~mpi', when='~mpi')
+ depends_on('netcdf-c~mpi~parallel-netcdf', when='~mpi')
depends_on('netcdf-c+mpi', when='+mpi')
depends_on('doxygen', when='+doc', type='build')