View previous topic :: View next topic |
Author |
Message |
uuhan n00b
Joined: 26 Aug 2012 Posts: 20
|
Posted: Wed Sep 19, 2012 11:00 am Post subject: [solved]How to define the language ,when I emerge packages ? |
|
|
When I emerge -pv <some package> , I find some package I want just owns linguas="* B" ,but I prefer A's linguas . I need the linguas of A ,but if it does not exist , I can use B substituted . I know I can define both A and B in my make.conf, but I do not need B when they both exist . I try to write a file /etc/portage/package.linguas , like package.use , package.accept_keywords , to define a specialized LINGUAS value ,but it seems does not work . So what can I do to satisfy my need ?
Last edited by uuhan on Wed Sep 19, 2012 3:29 pm; edited 1 time in total |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Wed Sep 19, 2012 11:09 am Post subject: |
|
|
linguas get expanded to normal USE-Flags.
linguas="de fr" will get USE="linguas_de linguas_fr".
So you can simply add per-package-entries to package.use in the form of
pkg-cat/pkg-name linguas_A |
|
Back to top |
|
|
uuhan n00b
Joined: 26 Aug 2012 Posts: 20
|
Posted: Wed Sep 19, 2012 3:28 pm Post subject: |
|
|
franzf wrote: | linguas get expanded to normal USE-Flags.
linguas="de fr" will get USE="linguas_de linguas_fr".
So you can simply add per-package-entries to package.use in the form of
pkg-cat/pkg-name linguas_A |
Amazing, it works .. Thank you so much .BTW , why it did not announced in the Gentoo Installation Guide ? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|