diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-05-05 19:20:49 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-05-05 19:35:29 +0200 |
commit | 52982a684030284102aaacee96029f4576dfb070 (patch) | |
tree | 16f8086cc5d3eb7359046abdd31854a29941796c /eclass/font-ebdftopcf.eclass | |
parent | net-mail/notmuch: Install notmuch-report instead of nmbug-status (diff) | |
download | gentoo-52982a684030284102aaacee96029f4576dfb070.tar.gz gentoo-52982a684030284102aaacee96029f4576dfb070.tar.bz2 gentoo-52982a684030284102aaacee96029f4576dfb070.zip |
font-ebdftopcf.eclass: Move global-scope use calls to phase, #566540
Diffstat (limited to 'eclass/font-ebdftopcf.eclass')
-rw-r--r-- | eclass/font-ebdftopcf.eclass | 6 |
1 files 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} |