View previous topic :: View next topic |
Author |
Message |
JuszR Tux's lil' helper
Joined: 03 Nov 2010 Posts: 134 Location: Tlv
|
Posted: Sun Nov 25, 2012 10:25 pm Post subject: Install examples but only for a certain langauge |
|
|
I want to add the examples USE flag but only for a certain packages, those whose programming language is Java, is that possible? |
|
Back to top |
|
|
paulj Guru
Joined: 30 Sep 2004 Posts: 513 Location: Wales, UK
|
Posted: Wed Nov 28, 2012 12:39 pm Post subject: |
|
|
I don't believe you can set up the system to be selective with use flag depending on some other parameter. You can set the use flag globally in make.conf, or you can set it on a package basis in /etc/portage/package.use/
For example (made up package): create file /etc/portage/package.use/test with the contents:
Code: | /test-libs/test examples
|
This will enable the examples use flag for all versions of the test-libs/test package.
Have a look at the portage man page for more information on how to set flags for different versions of a package.
Hope that helps! |
|
Back to top |
|
|
|