commit: a5dc6c8c29e7de309f921841e8eb4d2741c80563 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Sat May 26 20:25:07 2018 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Sat May 26 20:29:46 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5dc6c8c
xorg-2.eclass: Limit adding IUSE=nls to packages without support Of media-fonts/font-*-misc only font-misc-misc and font-schumacher-misc have nls support. Adding IUSE=nls to the others just causes warnings. Closes: https://bugs.gentoo.org/499800 eclass/xorg-2.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index f321d69bcbe..08051fe1fa7 100644 --- a/eclass/xorg-2.eclass +++ b/eclass/xorg-2.eclass @@ -156,7 +156,7 @@ if [[ ${FONT} == yes ]]; then # Set up configure options, wrapped so ebuilds can override if need be [[ -z ${FONT_OPTIONS} ]] && FONT_OPTIONS="--with-fontdir=\"${EPREFIX}/usr/share/fonts/${FONT_DIR}\"" - [[ ${PN##*-} = misc || ${PN##*-} = 75dpi || ${PN##*-} = 100dpi || ${PN##*-} = cyrillic ]] && IUSE+=" nls" + [[ ${PN} = font-misc-misc || ${PN} = font-schumacher-misc || ${PN##*-} = 75dpi || ${PN##*-} = 100dpi || ${PN##*-} = cyrillic ]] && IUSE+=" nls" fi # If we're a driver package, then enable DRIVER case
