From 9cd656582de21a739a825f1a8dc9ad0618a46c3a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 14 Nov 2008 06:56:04 +0000 Subject: Bug #244485 - Document USE dependencies. svn path=/main/trunk/; revision=11898 --- man/ebuild.5 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'man') diff --git a/man/ebuild.5 b/man/ebuild.5 index 0fefe0d7..e2fb43d6 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -267,6 +267,39 @@ x11\-libs/qt:3 \fI>=\fRx11\-libs/qt-3.3.8:3 \fI=\fRx11\-libs/qt-3.3*:3 .fi +.TP +.B Atom USE +Beginning with \fBEAPI 2\fR, any atom can be constrained to match specific +\fBUSE\fR flag settings. When used together with \fBSLOT\fR dependencies, +\fBUSE\fR dependencies appear on the right hand side of \fBSLOT\fR +dependencies. + +.RS +.TP +.B Unconditional USE Dependencies +.TS +l l +__ +l l. +Example Meaning +foo[bar] foo must have bar enabled +foo[bar,baz] foo must have both bar and baz enabled +foo[\-bar,baz] foo must have bar disabled and baz enabled +.TE + +.TP +.B Conditional USE Dependencies +.TS +l l +__ +l l. +Compact Form Equivalent Expanded Form +foo[bar?] bar? ( foo[bar] ) !bar? ( foo ) +foo[!bar?] bar? ( foo ) !bar? ( foo[\-bar] ) +foo[bar=] bar? ( foo[bar] ) !bar? ( foo[\-bar] ) +foo[!bar=] bar? ( foo[\-bar] ) !bar? ( foo[bar] ) +.TE +.RE .RE .TP .B Dynamic DEPENDs -- cgit v1.2.3-65-gdbad