ncl: Add missing fontconfig dependency (#14411)
Moreover, cairo needs to have its freetype variant enabled.
This commit is contained in:
parent
a5ae5aca36
commit
be3482de09
1 changed files with 3 additions and 1 deletions
|
@ -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 @@ def prepare_install_config(self):
|
|||
# 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) :
|
||||
|
|
Loading…
Reference in a new issue