diff options
author | Matt Turner <mattst88@gentoo.org> | 2018-05-26 13:25:07 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2018-05-26 13:29:46 -0700 |
commit | a5dc6c8c29e7de309f921841e8eb4d2741c80563 (patch) | |
tree | ca8018027e12463155b657c477a474b62a09e776 /eclass/xorg-2.eclass | |
parent | xorg-2.eclass: Notify users to run 'xset fp rehash' when fonts change (diff) | |
download | gentoo-a5dc6c8c29e7de309f921841e8eb4d2741c80563.tar.gz gentoo-a5dc6c8c29e7de309f921841e8eb4d2741c80563.tar.bz2 gentoo-a5dc6c8c29e7de309f921841e8eb4d2741c80563.zip |
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
Diffstat (limited to 'eclass/xorg-2.eclass')
-rw-r--r-- | eclass/xorg-2.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/xorg-2.eclass b/eclass/xorg-2.eclass index f321d69bcbe4..08051fe1fa7d 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 |