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')
|
||||
|
||||
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",
|
||||
"--disable-docs",
|
||||
"--with-default-fonts=%s" %
|
||||
spec['font-util'].prefix + "/share/fonts"]
|
||||
return args
|
||||
"--with-default-fonts={0}".format(font_path)]
|
||||
|
Loading…
Reference in New Issue
Block a user