From: Matt Turner Date: Mon, 17 Jun 2019 16:20:49 +0000 (-0400) Subject: font.eclass: Don't set IUSE=X for media-fonts/encodings X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=983b6aa3d9ea6b265442cd149801a4f8959b4cc7;p=gentoo.git font.eclass: Don't set IUSE=X for media-fonts/encodings Closes: https://bugs.gentoo.org/665008 Signed-off-by: Matt Turner --- 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: