Small fixes for font-util package (#12148)

* font-util: Remove duplicated dependencies.

* font-util: Fix path handling for font resources.

The "join_path" call made no sense but still managed to work somehow most of the times.
This commit is contained in:
Rémi Lacroix 2019-07-26 17:32:39 +02:00 committed by Greg Becker
parent 0babdab8f0
commit 9caba3e072

View File

@ -23,9 +23,6 @@ class FontUtil(AutotoolsPackage):
depends_on('mkfontscale', type='build')
depends_on('mkfontdir', type='build')
depends_on('autoconf', type='build')
depends_on('automake', type='build')
font_baseurl = 'https://www.x.org/archive/individual/font/'
fonts = []
# name, version, md5
@ -104,7 +101,7 @@ def font_install(self):
for font in fonts:
fontroot = find(font, '*', recursive=False)
with working_dir(join_path(font, fontroot[0])):
with working_dir(fontroot[0]):
autoreconf(*autoconf_args)
configure = Executable("./configure")
configure('--prefix={0}'.format(self.prefix))