summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2019-06-17 12:20:49 -0400
committerMatt Turner <mattst88@gentoo.org>2019-06-17 13:13:45 -0400
commit983b6aa3d9ea6b265442cd149801a4f8959b4cc7 (patch)
tree9996c7192781caa3dd31c39e6b3c676745b65677
parentmail-client/mutt: version bump 1.12.1 (diff)
downloadgentoo-983b6aa3d9ea6b265442cd149801a4f8959b4cc7.tar.gz
gentoo-983b6aa3d9ea6b265442cd149801a4f8959b4cc7.tar.bz2
gentoo-983b6aa3d9ea6b265442cd149801a4f8959b4cc7.zip
font.eclass: Don't set IUSE=X for media-fonts/encodings
Closes: https://bugs.gentoo.org/665008 Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--eclass/font.eclass13
1 files changed, 7 insertions, 6 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 58ec9e3ea31..6c4450b943b 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: