commit:     54ee612ef406435d1f403d8f76ed422921ffb707
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 20 15:00:27 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 29 20:41:38 2021 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=54ee612e

general-concepts/dependencies: list any-of dependencies in preferred order

This eases Portage dependency resolution.

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 general-concepts/dependencies/text.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/general-concepts/dependencies/text.xml 
b/general-concepts/dependencies/text.xml
index f49e319..c175cfa 100644
--- a/general-concepts/dependencies/text.xml
+++ b/general-concepts/dependencies/text.xml
@@ -461,6 +461,12 @@ DEPEND="!build? (
 <title>Any of Many Dependencies</title>
 <body>
 
+<note>
+To ease dependency resolution for Portage, it is recommended that you sort
+the elements in <e>preferred</e> order first. See
+<uri link="https://bugs.gentoo.org/489458";>this bug</uri> for more context.
+</note>
+
 <p>
 To depend on either <c>foo</c> or <c>bar</c>:
 </p>

Reply via email to