diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2013-05-12 17:00:45 +0100 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2013-05-12 17:00:45 +0100 |
commit | b105ca7cbfe2258c4f1e3c29e03adf4583af5e5b (patch) | |
tree | b8e90d7cf7db1edda5e9bbf61c64791aaf1a9185 /general-concepts/slotting | |
parent | Merge pull request #2 from gentoo/metastructure_hyperlink_fix (diff) | |
download | devmanual-b105ca7cbfe2258c4f1e3c29e03adf4583af5e5b.tar.gz devmanual-b105ca7cbfe2258c4f1e3c29e03adf4583af5e5b.tar.bz2 devmanual-b105ca7cbfe2258c4f1e3c29e03adf4583af5e5b.zip |
slotting: Add sub-slots carefully to avoid useless rebuilds
Fixes bug #458838
Diffstat (limited to 'general-concepts/slotting')
-rw-r--r-- | general-concepts/slotting/text.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/general-concepts/slotting/text.xml b/general-concepts/slotting/text.xml index bbbfad4..96aa4fc 100644 --- a/general-concepts/slotting/text.xml +++ b/general-concepts/slotting/text.xml @@ -80,6 +80,15 @@ If an ebuild does not explicitly declare a sub-slot, the regular slot is used as the value of the sub-slot by default. </p> +<note> +Care must be taken when using sub-slots in a library ebuild for the first time. +Adding sub-slots will trigger rebuilds for all the packages that already use sub-slot +dependencies (e.g. Switching from SLOT="0" to SLOT="0/14" in <c>media-libs/libpng</c> and +package <c>foo</c> depends on <c>libpng:0=</c>). +Therefore, it's best if you start using sub-slots in the library when the existing library +interface changes. +</note> + </body> </section> |