profiles: Remove LINGUAS from USE_EXPAND
authorMichał Górny <mgorny@gentoo.org>
Wed, 27 Dec 2017 17:49:37 +0000 (18:49 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 15:38:11 +0000 (16:38 +0100)
commit2dbbacd4e244b98177733af225112bc0f1690837
tree6d56f6a0a7549f0028c515743d2f0f0e308fcf44
parent679466474ee4f6448fa2a8b706aef63c3d321e8d
profiles: Remove LINGUAS from USE_EXPAND

Apply the long-overdue removal of LINGUAS from USE_EXPAND. Per the PMS
rules, specifying it as a USE_EXPAND implicitly filters any values that
are not present in IUSE. This effectively means that ebuilds
not specifying linguas_* flags at all should get empty exported LINGUAS
variable. As a result, those packages would not install localizations
at all.

To avoid this unfortunate behavior, remove LINGUAS from USE_EXPAND.
The LINGUAS variable becomes a regular environment variable that
implicitly controls package builds. Ebuilds still using linguas* in IUSE
may experience a mismatch between the value of LINGUAS (if any)
and the flag states; however, it should not cause any major
inconvenience.
profiles/base/make.defaults
profiles/embedded/make.defaults