summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMilton Woods <miltonjwoods@gmail.com>2017-04-19 21:55:22 +1000
committerAdam J. Stewart <ajstewart426@gmail.com>2017-04-19 06:55:22 -0500
commit9b6b91b0b90e8c1af2b903ccfb5492bae506a184 (patch)
tree560000deadf7024228e0b92d4dacb0171026e018 /var
parentb00a12565c8aaa4dc54172cd5861020d6e09ff22 (diff)
downloadspack-9b6b91b0b90e8c1af2b903ccfb5492bae506a184.tar.gz
spack-9b6b91b0b90e8c1af2b903ccfb5492bae506a184.tar.bz2
spack-9b6b91b0b90e8c1af2b903ccfb5492bae506a184.tar.xz
spack-9b6b91b0b90e8c1af2b903ccfb5492bae506a184.zip
ncl: capture more dependencies (#3902)
* ncl: add depends_on statements for bison, flex and libiconv * ncl: depends on flex for building and linking * ncl: links with -ll, so requires flex with variant '+lex' * ncl: depends on szip; external hdf5 may not provide it
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ncl/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/ncl/package.py b/var/spack/repos/builtin/packages/ncl/package.py
index 78c5bf1ce2..051eaab471 100644
--- a/var/spack/repos/builtin/packages/ncl/package.py
+++ b/var/spack/repos/builtin/packages/ncl/package.py
@@ -58,6 +58,11 @@ class Ncl(Package):
depends_on('netcdf')
depends_on('cairo')
+ # Extra dependencies that may be missing from build system:
+ depends_on('bison', type='build')
+ depends_on('flex+lex')
+ depends_on('libiconv')
+
# Also, the manual says that ncl requires zlib, but that comes as a
# mandatory dependency of libpng, which is a mandatory dependency of cairo.
@@ -75,6 +80,7 @@ class Ncl(Package):
# szip support. We introduce this restriction with the following dependency
# statement.
depends_on('hdf5+szip')
+ depends_on('szip')
# In Spack, we also do not have an option to compile netcdf without DAP
# support, so we will tell the ncl configuration script that we have it.