Gentoo Archives: gentoo-portage-dev

From: Dennis Schridde <devurandom@×××.net>
To: gentoo-portage-dev@l.g.o
Cc: Dennis Schridde <devurandom@×××.net>
Subject: [gentoo-portage-dev] [PATCH 3/3] Document targetroot useflag in ebuild(5)
Date: Tue, 25 Sep 2012 15:09:32
Message-Id: 1348581504-14437-4-git-send-email-devurandom@gmx.net
In Reply to: [gentoo-portage-dev] Please review: manpage-hdepend improvements by Dennis Schridde
1 ---
2 man/ebuild.5 | 9 +++++++++
3 1 file changed, 9 insertions(+)
4
5 diff --git a/man/ebuild.5 b/man/ebuild.5
6 index 2652f89..0d5e448 100644
7 --- a/man/ebuild.5
8 +++ b/man/ebuild.5
9 @@ -349,6 +349,15 @@ Without it, \fBemerge\fR defaults to install only runtime dependencies (i.e.
10 .PP
11 See section \fBVARIABLES\fR for more information about the \fBDEPEND\fR,
12 \fBRDEPEND\fR and \fBHDEPEND\fR variables.
13 +.TP
14 +.B The targetroot USE flag
15 +For EAPIs that support the "\fItargetroot\fR" USE flag, that flag is
16 +automatically enabled by the package manager if \fIhost\fR and \fItarget\fR
17 +system are not the same, i.e. if the \fBROOT\fR is not "\fI/\fR".
18 +This is necessary where the package to be built needs an executable copy of
19 +itself during the build process.
20 +A known example is dev-lang/python, which needs to run a Python interpreter
21 +during compilation.
22
23 .SH "VARIABLES"
24 .TP
25 --
26 1.7.12