From d08d5f0dea3d8580c55a052d6424863d6aeb8ae9 Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Sat, 23 Apr 2022 15:32:51 +0300 Subject: general-concepts/dependencies: add new section for indirect deps Signed-off-by: Joonas Niilola --- general-concepts/dependencies/text.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'general-concepts') 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 @@ -781,6 +781,23 @@ There are three kinds of circular dependencies: + + + +
+Indirect dependencies + + +

+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 dep1 and dep2, but +dep1 also depends on dep2. You might consider just adding +dep1 since it currently pulls dep2 too, but in the future, +dep1 might drop dep2 as a dependency, or make it conditional with +USE flags. This would then break building your ebuild. +

+
-- cgit v1.2.3-65-gdbad