1 |
On Thu, 2003-04-10 at 23:22, Riyad Kalla wrote: |
2 |
|
3 |
> What I just described agrees with your comment, but when I was building |
4 |
> KDE, I noticed quite a few gnome and gtk dependencies... then I went and |
5 |
> added "-gtk" and "-gnome" to my use flags, and the deps went away (I'm |
6 |
> not 100% if it was KDE or not, but that's beside the point, the point |
7 |
> was that I had to explicity tell emerge NOT to include gnome or gtk |
8 |
> deps, yet I also had to tell it to explicity INCLUDE the cups and gif |
9 |
> deps". |
10 |
> |
11 |
> This behavior confuses me, as I never know "what I'm missing" so to |
12 |
> speak until its too late. Is there a way to make emerge behave more |
13 |
> predictably? Either by automatically excluding ALL possible use flags |
14 |
> unless stated otherwise, OR by including all possible use flags unless |
15 |
> stated otherwise? |
16 |
> |
17 |
|
18 |
See, because there was a problem with new users that they did not add |
19 |
USE flags for common stuff, and then was upset later on, we added |
20 |
'default' use flags ... You can view them with: |
21 |
|
22 |
# grep -A 3 USE /etc/make.profile/make.defaults |
23 |
|
24 |
> A gentleman on this list (Sami) gave a good suggestion to me which was |
25 |
> to add ALL of the use flags in alphabetical order to my USE variable, |
26 |
> then run down the list adding a "-" before each one I didn't want. This |
27 |
> seems to be the only way to garuntee the behavior... which is suboptimal |
28 |
> at best. |
29 |
> |
30 |
|
31 |
To start with a clean slate, do in /etc/make.conf: |
32 |
|
33 |
---------------------------------------------- |
34 |
USE="-* whatever_USE_flags_you_may_want" |
35 |
---------------------------------------------- |
36 |
|
37 |
The '-*' means to remove all default USE flags defined in |
38 |
/etc/make.profile/make.defaults ... |
39 |
|
40 |
Hope this clears some issues. |
41 |
|
42 |
|
43 |
Regards, |
44 |
|
45 |
-- |
46 |
|
47 |
Martin Schlemmer |
48 |
Gentoo Linux Developer, Desktop/System Team Developer |
49 |
Cape Town, South Africa |