summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2020-01-07 17:55:34 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2020-01-07 10:55:34 -0600
commitbe3482de097ef3973f2350cc91b746ce2699aef5 (patch)
tree6835ccadcaae01cc5ab16afda04c801f3ada6503
parenta5ae5aca36edc1814d3f40505f7be73c8b3d9632 (diff)
downloadspack-be3482de097ef3973f2350cc91b746ce2699aef5.tar.gz
spack-be3482de097ef3973f2350cc91b746ce2699aef5.tar.bz2
spack-be3482de097ef3973f2350cc91b746ce2699aef5.tar.xz
spack-be3482de097ef3973f2350cc91b746ce2699aef5.zip
ncl: Add missing fontconfig dependency (#14411)
Moreover, cairo needs to have its freetype variant enabled.
-rw-r--r--var/spack/repos/builtin/packages/ncl/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ncl/package.py b/var/spack/repos/builtin/packages/ncl/package.py
index 908518d194..0fa063c52c 100644
--- a/var/spack/repos/builtin/packages/ncl/package.py
+++ b/var/spack/repos/builtin/packages/ncl/package.py
@@ -43,7 +43,7 @@ class Ncl(Package):
# Non-optional dependencies according to the manual:
depends_on('jpeg')
depends_on('netcdf-c')
- depends_on('cairo+X+pdf')
+ depends_on('cairo+X+ft+pdf')
# Extra dependencies that may be missing from build system:
depends_on('bison', type='build')
@@ -64,6 +64,7 @@ class Ncl(Package):
depends_on('pixman')
depends_on('bzip2')
depends_on('freetype')
+ depends_on('fontconfig')
# In Spack, we do not have an option to compile netcdf-c without netcdf-4
# support, so we will tell the ncl configuration script that we want
@@ -224,6 +225,7 @@ class Ncl(Package):
# Build GRIB2 support (optional) into NCL?
'n\n',
# Enter local library search path(s) :
+ self.spec['fontconfig'].prefix.lib + ' ' +
self.spec['pixman'].prefix.lib + ' ' +
self.spec['bzip2'].prefix.lib + '\n',
# Enter local include search path(s) :