From a0ec7b40de13c8cc46802a11992664ce47ddfd96 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 2 Jan 2011 15:52:01 -0800 Subject: doc use_with/enable empty 3rd arg in EAPI 4 See bug #322049. --- man/ebuild.5 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/ebuild.5 b/man/ebuild.5 index 8e493f67a..ae2034eb1 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -802,7 +802,9 @@ If \fIconfigure opt\fR is not specified, then just \fI\-\-with\-[configure name]\fR will be echoed. If \fIUSE item\fR is not in the \fBUSE\fR variable, then the string \fI\-\-without\-[configure name]\fR will be echoed. If \fIconfigure name\fR is not specified, then \fIUSE item\fR will be used in -its place. +its place. Beginning with \fBEAPI 4\fR, an empty \fIconfigure opt\fR argument +is recognized. In \fBEAPI 3\fR and earlier, an empty \fIconfigure opt\fR +argument is treated as if it weren't provided. .RS .TP .I Examples: @@ -828,7 +830,9 @@ myconf=$(use_with sdl SDL all\-plugins) \fBuse_enable\fR \fI\fR \fI[configure name]\fR \fI[configure opt]\fR Same as \fBuse_with\fR above, except that the configure options are \fI\-\-enable\-\fR instead of \fI\-\-with\-\fR and \fI\-\-disable\-\fR instead of -\fI\-\-without\-\fR. +\fI\-\-without\-\fR. Beginning with \fBEAPI 4\fR, an empty \fIconfigure opt\fR +argument is recognized. In \fBEAPI 3\fR and earlier, an empty +\fIconfigure opt\fR argument is treated as if it weren't provided. .TP \fBhas\fR \fI\fR \fI\fR If \fIitem\fR is in \fIitem list\fR, then \fIitem\fR is echoed and \fBhas\fR -- cgit v1.2.3-1-g7c22