diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml index ba4a46c..63d5ae3 100644 --- a/general-concepts/dependencies/text.xml +++ b/general-concepts/dependencies/text.xml @@ -267,6 +267,30 @@ DEPEND="qt3? ( x11-libs/qt:3 ) gtk? ( x11-libs/gtk+:2 ) +

+If a package depends on a slotted package, then portage will only do a dependency +check on the latest slot (e.g. php 5.4): +

+ + +DEPEND="dev-lang/php[ssl]" + + +

+If both php 5.3 and php 5.4 are targeted slots for the package being emerged, +then only php 5.4 will be emerged or reemerged with the ssl USE flag. +

+ +

+In order to enforce dependency checking on all targeted slots, you must +specify the dependency for every slot currently available and targeted: +

+ + +DEPEND="php_targets_5-3? dev-lang/php:5.3[ssl]" + php_targets_5-4? dev-lang/php:5.4[ssl]" + +