Gentoo Archives: gentoo-user

From: Holly Bostick <motub@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Collecting USE variables
Date: Fri, 14 Oct 2005 19:56:04
Message-Id: 43500C5A.9080503@planet.nl
In Reply to: Re: [gentoo-user] Collecting USE variables by John Jolet
1 John Jolet schreef:
2 >
3 > On Oct 14, 2005, at 2:13 PM, Ciaran McCreesh wrote:
4 >
5 >> On Thu, 13 Oct 2005 16:29:39 +0100 (WEST) Jorge Almeida
6 >> <jalmeida@××××××××××××.pt> wrote: | I would like to know how the
7 >> current USE variables are set. | I know that "emerge --info"
8 >> displays a list of all of them, but it | doesn't discriminate where
9 >> they come from. I couldn't find clear | documentation about it,
10 >> but of course I may have missed something. | In the same line, I
11 >> find /etc/make.profile/make.defaults _very | strange_. "perl"?
12 >> Sure. "fortran"? Well, who knows... But "emboss"?! | (In case it
13 >> doesn't ring a bell immediately: emboss - Adds support for | the
14 >> European Molecular Biology Open Software Suite) | Could this be a
15 >> joke?
16 >>
17 >> Uh, no. USE flags do not control whether packages get installed.
18 >> They control whether something which has **optional** support will
19 >> use it. So, for things with optional emboss support, by default the
20 >> emboss support will be enabled. Which makes sense, because if
21 >> you're installing science apps, you'll probably want it, and if
22 >> you're not installing science apps you'll never see it anyway.
23 >>
24 > but if a program has optional support for a package that CAN be a
25 > prerequisite, based on USE flags, emerge will install that
26 > prerequisite or not. In that way, they DO control whether packages
27 > get installed.
28 >
29
30 Well, that's true... and I'll even leave aside the fact that USE flags
31 are the lesser of whatever evils in terms of dragging in "unwanted"
32 additional applications or libraries, since at least with USE flags you
33 can control it, but with hard dependencies, you of course can't.
34
35 But given that /etc/make.conf (and /etc/portage/package.use)
36 trumps everything, and given that you can easily see what flags are in
37 use with emerge info and emerge --verbose, I don't see what the big deal
38 is as to what the defaults are and where they are set in the first place.
39
40 If a USE flag does something you don't want, unset it. Defaults are not
41 the be-all and end-all of existence; the very presence of 'defaults'
42 means that the user can control them (if something has a 'default'
43 setting, that necessarily means that other settings are possible).
44
45 It's not as if knowing that the default USE flags are set in
46 /etc/make.profile (plus other cascaded locations) makes the first hairy
47 bit of difference, since the user will never be able to control the
48 contents of that file, but only override their contents manually in the
49 aforementioned /etc/make.conf and /etc/portage/package.use.
50
51 You could edit /etc/make.profile if you liked, I suppose, but Portage
52 will update it at one or more various points anyway, and then where are you?
53
54 Sorry, just a bit cranky this evening.
55
56 Holly
57 --
58 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Collecting USE variables Manuel McLure <manuel@××××××.org>