summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/fontconfig/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/fontconfig/package.py b/var/spack/repos/builtin/packages/fontconfig/package.py
index 99c9b1f15d..655eb7cf06 100644
--- a/var/spack/repos/builtin/packages/fontconfig/package.py
+++ b/var/spack/repos/builtin/packages/fontconfig/package.py
@@ -26,7 +26,7 @@ from spack import *
class Fontconfig(AutotoolsPackage):
- """Fontconfig customizing font access"""
+ """Fontconfig is a library for configuring/customizing font access"""
homepage = "http://www.freedesktop.org/wiki/Software/fontconfig/"
url = "http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.1.tar.gz"
@@ -35,7 +35,12 @@ class Fontconfig(AutotoolsPackage):
depends_on('freetype')
depends_on('libxml2')
depends_on('pkg-config', type='build')
+ depends_on('font-util', type='build')
def configure_args(self):
- args = ["--enable-libxml2", "--disable-docs"]
+ args = ["--prefix=%s" % prefix,
+ "--enable-libxml2",
+ "--disable-docs",
+ "--with-default-fonts=%s" %
+ spec['font-util'].prefix + "/share/fonts"]
return args