public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r11898 - main/trunk/man
@ 2008-11-14  6:56 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-11-14  6:56 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-11-14 06:56:04 +0000 (Fri, 14 Nov 2008)
New Revision: 11898

Modified:
   main/trunk/man/ebuild.5
Log:
Bug #244485 - Document USE dependencies.


Modified: main/trunk/man/ebuild.5
===================================================================
--- main/trunk/man/ebuild.5	2008-11-14 06:16:21 UTC (rev 11897)
+++ main/trunk/man/ebuild.5	2008-11-14 06:56:04 UTC (rev 11898)
@@ -267,7 +267,40 @@
 \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
 Sometimes programs may depend on different things depending on the USE




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-14  6:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-14  6:56 [gentoo-commits] portage r11898 - main/trunk/man Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox