1 |
Hey, |
2 |
|
3 |
On Thu, 2004-11-11 at 21:57 +0900, Jason Stubbs wrote: |
4 |
> So.. semantics. Example time. :) |
5 |
> |
6 |
> #1 |
7 |
> foo:DEPEND="baz[use]" |
8 |
> baz is installed with -use |
9 |
> |
10 |
> "emerge foo" results in: |
11 |
> baz[use] |
12 |
> foo |
13 |
|
14 |
The end result should be baz with the flag matching make.conf |
15 |
+package.use .. so it should probably be (if the system was consistent |
16 |
before the merge)... |
17 |
|
18 |
baz[use] |
19 |
foo |
20 |
baz[-use] |
21 |
|
22 |
Or maybe using a quickpkg like approach to save the pre-existing |
23 |
baz[-use] |
24 |
|
25 |
> #4 |
26 |
> foo:DEPEND="baz[use]" |
27 |
> foo:RDEPEND="" |
28 |
> bar:DEPEND="baz[-use]" |
29 |
> bar:RDEPEND="" |
30 |
> baz is installed with -use |
31 |
> |
32 |
> "emerge foo bar" or "emerge bar foo" results in: |
33 |
> bar |
34 |
> baz[use] |
35 |
> fooz |
36 |
|
37 |
Same comment as #1 |
38 |
|
39 |
> #6 |
40 |
> foo:DEPEND="use? bar[use]" |
41 |
> bar:DEPEND="use? foo[use]" |
42 |
> |
43 |
> "emerge foo bar" or "emerge bar foo" results in: |
44 |
> bar |
45 |
> foo[use] |
46 |
> bar[use] |
47 |
> --or-- |
48 |
> foo |
49 |
> bar[use] |
50 |
> foo[use] |
51 |
|
52 |
Aren't circular deps forbidden anyway? |
53 |
|
54 |
#7 |
55 |
foo: RDEPEND=baz[use] |
56 |
baz is installed -use (because package.use says so) |
57 |
|
58 |
"emerge foo" says: |
59 |
NOOO! conflict |
60 |
|
61 |
#8 |
62 |
same as above with DEPEND |
63 |
|
64 |
"emerge foo" should probably do: |
65 |
baz[-use] |
66 |
foo |
67 |
baz[use] |
68 |
|
69 |
Again a quickpkg like approach would become necessary.. |
70 |
|
71 |
-- |
72 |
Olivier CrĂȘte |
73 |
tester@g.o |
74 |
Gentoo Developer |