Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 05 May 2016 17:35:45
Message-Id: 1462469729.52982a684030284102aaacee96029f4576dfb070.mgorny@gentoo
1 commit: 52982a684030284102aaacee96029f4576dfb070
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 5 17:20:49 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 5 17:35:29 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52982a68
7
8 font-ebdftopcf.eclass: Move global-scope use calls to phase, #566540
9
10 eclass/font-ebdftopcf.eclass | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
12
13 diff --git a/eclass/font-ebdftopcf.eclass b/eclass/font-ebdftopcf.eclass
14 index 864cfdf..334da01 100644
15 --- a/eclass/font-ebdftopcf.eclass
16 +++ b/eclass/font-ebdftopcf.eclass
17 @@ -17,9 +17,6 @@ IUSE="X"
18 DEPEND="X? ( media-gfx/ebdftopcf )"
19 RDEPEND=""
20
21 -use X && FONT_SUFFIX="pcf.gz"
22 -use X || FONT_SUFFIX="bdf"
23 -
24 #
25 # Public functions
26 #
27 @@ -37,6 +34,9 @@ ebdftopcf() {
28 # Public inheritable functions
29 #
30 font-ebdftopcf_src_compile() {
31 + use X && FONT_SUFFIX="pcf.gz"
32 + use X || FONT_SUFFIX="bdf"
33 +
34 if use X; then
35 [ -z "${BDFFILES}" ] && BDFFILES="$(find . -name '*.bdf')"
36 ebdftopcf ${BDFFILES}