From 983b6aa3d9ea6b265442cd149801a4f8959b4cc7 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 17 Jun 2019 12:20:49 -0400 Subject: [PATCH] font.eclass: Don't set IUSE=X for media-fonts/encodings Closes: https://bugs.gentoo.org/665008 Signed-off-by: Matt Turner --- eclass/font.eclass | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/eclass/font.eclass b/eclass/font.eclass index 58ec9e3ea312..6c4450b943bb 100644 --- a/eclass/font.eclass +++ b/eclass/font.eclass @@ -52,13 +52,14 @@ FONT_CONF=( "" ) # COPYRIGHT README{,.txt} NEWS AUTHORS BUGS ChangeLog FONTLOG.txt DOCS=${DOCS:-} -IUSE="X" - -DEPEND="X? ( - || ( >=x11-apps/mkfontscale-1.2.0 x11-apps/mkfontdir ) - media-fonts/encodings +if [[ ${CATEGORY}/${PN} != media-fonts/encodings ]]; then + IUSE="X" + DEPEND="X? ( + || ( >=x11-apps/mkfontscale-1.2.0 x11-apps/mkfontdir ) + media-fonts/encodings )" -RDEPEND="" + RDEPEND="" +fi # @FUNCTION: font_xfont_config # @DESCRIPTION: -- 2.26.2