Michael Schmarck writes:

> I did as you described. When I now run "emerge -vpt man-pages", I get:
>
> # emerge -vpt man-pages
>
> These are the packages that would be merged, in reverse order:
>
> Calculating dependencies... done!
> [ebuild     U ] sys-apps/man-pages-2.78 [2.42] USE="nls" LINGUAS="-cs%
> -da% de%* -es% -fr% -it% -ja% -nl% -pl% -ro% -ru% -zh_CN%" 1,823 kB
> [ebuild  N    ]  app-i18n/man-pages-de-0.5-r1  510 kB
[...]
> It seems as if this does not work - or does it?

Actually it does, but the emerge -p output does not show that. Looks 
like /etc/portage/bashrc is evaluated by /usr/lib/portage/bin/ebuild.sh, 
and this is involved only when something is unpacked, compiled, installed, 
and such. Sorry. You could put a
    echo "LINGUAS=$LINGUAS"
into /etc/portage/package.env/sys-apps/man-pages to check. But in this 
case -linguas_de in /etc/portage/package.use is the far better approach of 
course.

        Wonko
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to