diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/cairo/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/cairo/package.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cairo/package.py b/var/spack/repos/builtin/packages/cairo/package.py index 6cc9779ad0..95ec7d44b9 100644 --- a/var/spack/repos/builtin/packages/cairo/package.py +++ b/var/spack/repos/builtin/packages/cairo/package.py @@ -35,6 +35,10 @@ class Cairo(AutotoolsPackage): depends_on('librsvg', when='+svg') depends_on('glib') depends_on('pixman') + depends_on('automake', type='build') + depends_on('autoconf', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') depends_on('freetype', when='+ft') depends_on('pkgconfig', type='build') depends_on('fontconfig@2.10.91:', when='+fc') # Require newer version of fontconfig. @@ -42,6 +46,15 @@ class Cairo(AutotoolsPackage): conflicts('+png', when='platform=darwin') conflicts('+svg', when='platform=darwin') + # patch from https://gitlab.freedesktop.org/cairo/cairo/issues/346 + patch('fontconfig.patch', when='@1.16.0') + + def setup_build_environment(self, env): + env.set('NOCONFIGURE', "1") + + def autoreconf(self, spec, prefix): + which('sh')('./autogen.sh') + def configure_args(self): args = [ '--disable-trace', # can cause problems with libiberty |