Gentoo Archives: gentoo-user

From: Andrea Conti <alyf@××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /etc/portage/package.use for LINGUAS?
Date: Thu, 19 Aug 2010 17:16:05
Message-Id: 4C6D6684.7060202@alyf.net
In Reply to: [gentoo-user] /etc/portage/package.use for LINGUAS? by Florian Philipp
1 On 19/08/2010 17:49, Florian Philipp wrote:
2 > Hi list!
3 >
4 > I'd like to change the LINGUAS setting for a single package. Is there a
5 > config file for stuff like this?
6
7 LINGUAS (like VIDEO_CARDS, INPUT_DEVICES and similar stuff) is declared
8 as an USE_EXPAND variable, so that its contents get automatically
9 translated in a set of USE flags. For example, having LINGUAS="de en"
10 results in the USE flags "linguas_de" and "linguas_en" being set for
11 ebuilds.
12
13 User-specified settings take precedence over expanded USE flags, so you
14 can simply set/unset the flags as needed through package.use (e.g. if
15 you have a global LINGUAS="de", "sys-apps/man-pages -linguas_de" in
16 package.use would do the trick)
17
18 andrea