summaryrefslogtreecommitdiffstats
path: root/man/ebuild.5
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-12-30 19:36:47 -0800
committerZac Medico <zmedico@gentoo.org>2010-12-30 19:36:47 -0800
commitc020b66c6e52c30789e5ff153479e57cfac8056d (patch)
tree914025a9c0a095406cbed44101f63f62a32cdfd6 /man/ebuild.5
parent0a6e259026e6adacbaeecca47a40626bc3c488ed (diff)
downloadportage-c020b66c6e52c30789e5ff153479e57cfac8056d.tar.gz
portage-c020b66c6e52c30789e5ff153479e57cfac8056d.tar.bz2
portage-c020b66c6e52c30789e5ff153479e57cfac8056d.zip
ebuild(5): REQUIRED_USE in EAPI 4
Diffstat (limited to 'man/ebuild.5')
-rw-r--r--man/ebuild.518
1 files changed, 18 insertions, 0 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index 22cec1761..9ceee590d 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -444,6 +444,24 @@ but may be merged before if need be.
.br
You may use the same syntax to vary dependencies as seen above in \fBDEPEND\fR.
.TP
+\fBREQUIRED_USE\fR
+Beginning with \fBEAPI 4\fR, the \fBREQUIRED_USE\fR variable can be
+used to specify combinations of \fBUSE\fR flags that are allowed
+or not allowed. Elements can be nested when necessary.
+.TS
+l l
+__
+l l.
+Behavior Expression
+
+If flag1 enabled then flag2 disabled flag1? ( !flag2 )
+If flag1 enabled then flag2 disabled flag1? ( flag2 )
+If flag1 disabled then flag2 enabled !flag1? ( flag2 )
+If flag1 disabled then flag2 disabled !flag1? ( !flag2 )
+Must enable any one or more (inclusive or) || ( flag1 flag2 flag3 )
+Must enable exactly one but not more (exclusive or) ^^ ( flag1 flag2 flag3 )
+.TE
+.TP
\fBRESTRICT\fR = \fI[strip,mirror,fetch,userpriv]\fR
This should be a space delimited list of portage features to restrict.
You may use conditional syntax to vary restrictions as seen above in DEPEND.