diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-04-23 15:32:51 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-05-22 09:36:57 +0300 |
commit | d08d5f0dea3d8580c55a052d6424863d6aeb8ae9 (patch) | |
tree | 1285bf8437b7be285df981a4a4dffd656e7575f2 /general-concepts | |
parent | eclass-writing: minor edits to jmake example (diff) | |
download | devmanual-d08d5f0dea3d8580c55a052d6424863d6aeb8ae9.tar.gz devmanual-d08d5f0dea3d8580c55a052d6424863d6aeb8ae9.tar.bz2 devmanual-d08d5f0dea3d8580c55a052d6424863d6aeb8ae9.zip |
general-concepts/dependencies: add new section for indirect deps
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'general-concepts')
-rw-r--r-- | general-concepts/dependencies/text.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml index ef27ac2..ab1a799 100644 --- a/general-concepts/dependencies/text.xml +++ b/general-concepts/dependencies/text.xml @@ -783,5 +783,22 @@ There are three kinds of circular dependencies: </body> </section> + +<section> +<title>Indirect dependencies</title> +<body> + +<p> +Always list each direct dependency that your package needs to build and run +correctly. Do not rely on dependency chains to meet the dependency +requirements. For example, a package needs <c>dep1</c> and <c>dep2</c>, but +<c>dep1</c> also depends on <c>dep2</c>. You might consider just adding +<c>dep1</c> since it currently pulls <c>dep2</c> too, but in the future, +<c>dep1</c> might drop <c>dep2</c> as a dependency, or make it conditional with +USE flags. This would then break building your ebuild. +</p> + +</body> +</section> </chapter> </guide> |