summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorEric <erimar77@users.noreply.github.com>2018-11-02 20:06:40 -0500
committerPeter Scheibel <scheibel1@llnl.gov>2018-11-02 18:06:40 -0700
commitb471a3626ec06f07eadc5f89767a5ad034113b4f (patch)
tree8a42a6cd30cc76e084906388eb20d024dc974381 /var
parenta33d123e2eb3f3f4ab8f8c1a692a76b9f600d0aa (diff)
downloadspack-b471a3626ec06f07eadc5f89767a5ad034113b4f.tar.gz
spack-b471a3626ec06f07eadc5f89767a5ad034113b4f.tar.bz2
spack-b471a3626ec06f07eadc5f89767a5ad034113b4f.tar.xz
spack-b471a3626ec06f07eadc5f89767a5ad034113b4f.zip
freetype: enable-freetype-config build option for 2.9.1 (#9653)
This builds the 'freetype-config' binary which can be used to get configuration information about the freetype install, used by some dependents.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/freetype/package.py5
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)