Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install examples but only for a certain langauge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
JuszR
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2010
Posts: 134
Location: Tlv

PostPosted: Sun Nov 25, 2012 10:25 pm    Post subject: Install examples but only for a certain langauge Reply with quote

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
View user's profile Send private message
paulj
Guru
Guru


Joined: 30 Sep 2004
Posts: 511
Location: Wales, UK

PostPosted: Wed Nov 28, 2012 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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