commit: 9f29f77794f9329b6f5f5e1e2478bbefad9a8b6a Author: Anthony Ryan <anthonyryan1 <AT> gmail <DOT> com> AuthorDate: Tue Aug 19 21:19:41 2014 +0000 Commit: Markos Chandras <hwoarang <AT> gentoo <DOT> org> CommitDate: Sat Oct 18 17:40:13 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/devmanual.git;a=commit;h=9f29f777
Document use dependency defaults on this section of the devmanual --- general-concepts/dependencies/text.xml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/general-concepts/dependencies/text.xml b/general-concepts/dependencies/text.xml index 8586db6..dc95e28 100644 --- a/general-concepts/dependencies/text.xml +++ b/general-concepts/dependencies/text.xml @@ -447,7 +447,6 @@ In order to use built with use dependencies you must specify <c>EAPI="2"</c>. Available specifiers are: </p> -<p> <table> <tr> <th>Specifier</th> @@ -466,13 +465,11 @@ Available specifiers are: <ti>foo must have bar disabled and baz enabled.</ti> </tr> </table> -</p> <p> There are also shortcuts for conditional situations: </p> -<p> <table> <tr> <th>Compact form</th> @@ -495,9 +492,25 @@ There are also shortcuts for conditional situations: <ti><c>bar? ( app-misc/foo[-bar] ) !bar? ( app-misc/foo[bar] )</c></ti> </tr> </table> + +<subsection> +<title>Use dependency defaults</title> +<body> + +<p> +If a dependency is introducing or removing a <c>USE</c> flag in new versions, a use +dependency default may be used. Appending a <c>(+)</c> or <c>(-)</c> suffix will indicate +whether the absence of the flag from a particular version should indicate its +presence or absence. +</p> +<p> +<c>>=dev-libs/boost-1.48[threads(+)]</c> will treat all versions without <c>threads</c> as having it set. </p> </body> +</subsection> + +</body> </section> <section>