diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-08-27 15:16:09 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-08-27 15:16:09 +0000 |
commit | 8cab08168a6721dd1fae9c15a597b1a2b080893c (patch) | |
tree | b046ac66b22693f02c706ab2f40fc6222cf6fc37 /eclass | |
parent | Fixing dev-util/intltool DEPEND (diff) | |
download | historical-8cab08168a6721dd1fae9c15a597b1a2b080893c.tar.gz historical-8cab08168a6721dd1fae9c15a597b1a2b080893c.tar.bz2 historical-8cab08168a6721dd1fae9c15a597b1a2b080893c.zip |
Fix "undefined nls useflag" warning for some fonts packages. Per bug #263142.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/x-modular.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass index d8f4302bcbb8..65c5b5169668 100644 --- a/eclass/x-modular.eclass +++ b/eclass/x-modular.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.111 2009/08/22 20:12:42 dirtyepic Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.112 2009/08/27 15:16:09 scarabeus Exp $ # # @ECLASS: x-modular.eclass # @MAINTAINER: @@ -348,7 +348,7 @@ x-modular_font_configure() { if [[ -n "${FONT}" ]]; then # Might be worth adding an option to configure your desired font # and exclude all others. Also, should this USE be nls or minimal? - if ! use nls; then + if has nls ${IUSE//+} && ! use nls; then FONT_OPTIONS="${FONT_OPTIONS} --disable-iso8859-2 --disable-iso8859-3 |