From 70a4c4e105b3487857832c2609c8e2e5f55874b5 Mon Sep 17 00:00:00 2001 From: Kim Serradell Date: Wed, 21 Dec 2016 23:27:15 +0100 Subject: Bug fontconfig (#2652) * Added uuid: OSSP uuid is a ISO-C:1999 application programming interface * Fixed install error in cmor package * Added uuid: OSSP uuid is a ISO-C:1999 application programming interface * Fixed install error in cmor package * Modifiying fontconfig file to allow install in OpenSuse 13.2 * Adding pkg-config dependency to freetype and libxml2 * Removed first possible solution. With @adamjstewart selecting the one adding pkg-config to dependencies --- var/spack/repos/builtin/packages/freetype/package.py | 3 ++- var/spack/repos/builtin/packages/libxml2/package.py | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/freetype/package.py b/var/spack/repos/builtin/packages/freetype/package.py index 189dbc7e95..4446ba5666 100644 --- a/var/spack/repos/builtin/packages/freetype/package.py +++ b/var/spack/repos/builtin/packages/freetype/package.py @@ -39,6 +39,7 @@ class Freetype(AutotoolsPackage): depends_on('libpng') depends_on('bzip2') - + depends_on('pkg-config@0.9.0:', type='build') + def configure_args(self): return ['--with-harfbuzz=no'] diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py index 0b55fe4d30..bbb934ab9f 100644 --- a/var/spack/repos/builtin/packages/libxml2/package.py +++ b/var/spack/repos/builtin/packages/libxml2/package.py @@ -43,6 +43,8 @@ class Libxml2(Package): depends_on('zlib') depends_on('xz') + depends_on('pkg-config@0.9.0:', type='build') + def install(self, spec, prefix): if '+python' in spec: python_args = [ -- cgit v1.2.3-70-g09d2