Skip to content
Snippets Groups Projects
Commit 9c57a49b authored by Joseph Ciurej's avatar Joseph Ciurej Committed by becker33
Browse files

Fixed a few minor issues with the 'fontconfig' package install script. (#2491)

parent 9edb31a5
Branches
Tags
No related merge requests found
...@@ -38,9 +38,9 @@ class Fontconfig(AutotoolsPackage): ...@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment