summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-08-27 15:16:09 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-08-27 15:16:09 +0000
commitf2e2eced99882045e7db456141eb966992f71ea4 (patch)
treed2162043528e3d568312031896d655f580cb4b9d /eclass/x-modular.eclass
parentFixing dev-util/intltool DEPEND (diff)
downloadgentoo-2-f2e2eced99882045e7db456141eb966992f71ea4.tar.gz
gentoo-2-f2e2eced99882045e7db456141eb966992f71ea4.tar.bz2
gentoo-2-f2e2eced99882045e7db456141eb966992f71ea4.zip
Fix "undefined nls useflag" warning for some fonts packages. Per bug #263142.
Diffstat (limited to 'eclass/x-modular.eclass')
-rw-r--r--eclass/x-modular.eclass4
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