Fixed a few minor issues with the 'fontconfig' package install script. (#2491)
This commit is contained in:
parent
9edb31a51c
commit
9c57a49bf4
@ -38,9 +38,9 @@ class Fontconfig(AutotoolsPackage):
|
|||||||
depends_on('font-util', type='build')
|
depends_on('font-util', type='build')
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
args = ["--prefix=%s" % prefix,
|
font_path = join_path(self.spec['font-util'].prefix, 'share', 'fonts')
|
||||||
|
|
||||||
|
return ["--prefix={0}".format(self.prefix),
|
||||||
"--enable-libxml2",
|
"--enable-libxml2",
|
||||||
"--disable-docs",
|
"--disable-docs",
|
||||||
"--with-default-fonts=%s" %
|
"--with-default-fonts={0}".format(font_path)]
|
||||||
spec['font-util'].prefix + "/share/fonts"]
|
|
||||||
return args
|
|
||||||
|
Loading…
Reference in New Issue
Block a user