1 |
commit: 54ee612ef406435d1f403d8f76ed422921ffb707 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 20 15:00:27 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 29 20:41:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=54ee612e |
7 |
|
8 |
general-concepts/dependencies: list any-of dependencies in preferred order |
9 |
|
10 |
This eases Portage dependency resolution. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
14 |
|
15 |
general-concepts/dependencies/text.xml | 6 ++++++ |
16 |
1 file changed, 6 insertions(+) |
17 |
|
18 |
diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml |
19 |
index f49e319..c175cfa 100644 |
20 |
--- a/general-concepts/dependencies/text.xml |
21 |
+++ b/general-concepts/dependencies/text.xml |
22 |
@@ -461,6 +461,12 @@ DEPEND="!build? ( |
23 |
<title>Any of Many Dependencies</title> |
24 |
<body> |
25 |
|
26 |
+<note> |
27 |
+To ease dependency resolution for Portage, it is recommended that you sort |
28 |
+the elements in <e>preferred</e> order first. See |
29 |
+<uri link="https://bugs.gentoo.org/489458">this bug</uri> for more context. |
30 |
+</note> |
31 |
+ |
32 |
<p> |
33 |
To depend on either <c>foo</c> or <c>bar</c>: |
34 |
</p> |