From 52982a684030284102aaacee96029f4576dfb070 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 5 May 2016 19:20:49 +0200 Subject: [PATCH] font-ebdftopcf.eclass: Move global-scope use calls to phase, #566540 --- eclass/font-ebdftopcf.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eclass/font-ebdftopcf.eclass b/eclass/font-ebdftopcf.eclass index 864cfdfc010b..334da01c70fa 100644 --- a/eclass/font-ebdftopcf.eclass +++ b/eclass/font-ebdftopcf.eclass @@ -17,9 +17,6 @@ IUSE="X" DEPEND="X? ( media-gfx/ebdftopcf )" RDEPEND="" -use X && FONT_SUFFIX="pcf.gz" -use X || FONT_SUFFIX="bdf" - # # Public functions # @@ -37,6 +34,9 @@ ebdftopcf() { # Public inheritable functions # font-ebdftopcf_src_compile() { + use X && FONT_SUFFIX="pcf.gz" + use X || FONT_SUFFIX="bdf" + if use X; then [ -z "${BDFFILES}" ] && BDFFILES="$(find . -name '*.bdf')" ebdftopcf ${BDFFILES} -- 2.26.2