diff options
Diffstat (limited to '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} |