summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-06-20 10:46:49 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2017-06-20 12:46:49 -0500
commite5560dfbdee0235f6f727071cec968fd4913fab4 (patch)
tree75ba52444b33795783da209b11f779da8078a05a /var
parentca9e6576db7bf80238bb4ef50a2b702395c5c7aa (diff)
downloadspack-e5560dfbdee0235f6f727071cec968fd4913fab4.tar.gz
spack-e5560dfbdee0235f6f727071cec968fd4913fab4.tar.bz2
spack-e5560dfbdee0235f6f727071cec968fd4913fab4.tar.xz
spack-e5560dfbdee0235f6f727071cec968fd4913fab4.zip
fontconfig should depend on gperf (#4551)
* Include depends_on for gperf Sometime around 2.12.2 fontconfig acquired a build-time dependency on `gperf` (this commit, I think: 59fd9960bbb58fd6257adb13ec0f918882149332). This adds the dependency. `gperf` is called in the `src/Makefile`, see line 907 of `src/Makefile.in`. * Only depend_on gperf if @2.12.2: The gperf dependency *seems* to only be required when @2.12.2:. Earlier releases do not check the arg type of the gperf lookup function (which requires gperf) and are able to use pre-generated files so gperf is not required at build time.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/fontconfig/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fontconfig/package.py b/var/spack/repos/builtin/packages/fontconfig/package.py
index 9e909b90ff..9f0fc2b795 100644
--- a/var/spack/repos/builtin/packages/fontconfig/package.py
+++ b/var/spack/repos/builtin/packages/fontconfig/package.py
@@ -35,6 +35,7 @@ class Fontconfig(AutotoolsPackage):
version('2.11.1', 'e75e303b4f7756c2b16203a57ac87eba')
depends_on('freetype')
+ depends_on('gperf', type='build', when='@2.12.2:')
depends_on('libxml2')
depends_on('pkg-config', type='build')
depends_on('font-util')