diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/freetype/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/freetype/package.py b/var/spack/repos/builtin/packages/freetype/package.py index 5b00a73a89..acecc649ad 100644 --- a/var/spack/repos/builtin/packages/freetype/package.py +++ b/var/spack/repos/builtin/packages/freetype/package.py @@ -25,7 +25,10 @@ class Freetype(AutotoolsPackage): depends_on('pkgconfig', type='build') def configure_args(self): - return ['--with-harfbuzz=no'] + args = ['--with-harfbuzz=no'] + if self.spec.satisfies('@2.9.1:'): + args.append('--enable-freetype-config') + return args def setup_dependent_environment(self, spack_env, run_env, dependent_spec): spack_env.prepend_path('CPATH', self.prefix.include.freetype2) |