diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/gmt')
-rw-r--r-- | var/spack/repos/builtin/packages/gmt/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/gmt/package.py b/var/spack/repos/builtin/packages/gmt/package.py index 045f4e11f6..c3dbbfc8e5 100644 --- a/var/spack/repos/builtin/packages/gmt/package.py +++ b/var/spack/repos/builtin/packages/gmt/package.py @@ -33,7 +33,7 @@ class Gmt(Package): depends_on('ghostscript') depends_on('subversion') depends_on('cmake@2.8.5:', type='build', when='@5:') - depends_on('netcdf@4:') + depends_on('netcdf-c@4:') depends_on('curl', when='@5.4:') # Optional dependencies @@ -58,7 +58,7 @@ class Gmt(Package): def install(self, spec, prefix): args = [ '--prefix={0}'.format(prefix), - '--enable-netcdf={0}'.format(spec['netcdf'].prefix), + '--enable-netcdf={0}'.format(spec['netcdf-c'].prefix), '--enable-shared', '--without-x' ] |