commit: 52982a684030284102aaacee96029f4576dfb070
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May 5 17:20:49 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 5 17:35:29 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52982a68
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 864cfdf..334da01 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}