summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-14 06:56:04 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-14 06:56:04 +0000
commit9cd656582de21a739a825f1a8dc9ad0618a46c3a (patch)
treeda836e95678e25cddb8cee14673c84842b6db673 /man/ebuild.5
parentHaving a leading ./ prefix on file paths can trigger a bug in (diff)
downloadportage-idfetch-9cd656582de21a739a825f1a8dc9ad0618a46c3a.tar.gz
portage-idfetch-9cd656582de21a739a825f1a8dc9ad0618a46c3a.tar.bz2
portage-idfetch-9cd656582de21a739a825f1a8dc9ad0618a46c3a.zip
Bug #244485 - Document USE dependencies.
svn path=/main/trunk/; revision=11898
Diffstat (limited to 'man/ebuild.5')
-rw-r--r--man/ebuild.533
1 files changed, 33 insertions, 0 deletions
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