From 25b0c4545c9a3e8b80347bd458d80b4add330ef6 Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Tue, 25 Sep 2012 15:58:24 +0200 Subject: Document targetroot useflag in ebuild(5) --- man/ebuild.5 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man/ebuild.5 b/man/ebuild.5 index 2652f89c1..0d5e4484d 100644 --- a/man/ebuild.5 +++ b/man/ebuild.5 @@ -349,6 +349,15 @@ Without it, \fBemerge\fR defaults to install only runtime dependencies (i.e. .PP See section \fBVARIABLES\fR for more information about the \fBDEPEND\fR, \fBRDEPEND\fR and \fBHDEPEND\fR variables. +.TP +.B The targetroot USE flag +For EAPIs that support the "\fItargetroot\fR" USE flag, that flag is +automatically enabled by the package manager if \fIhost\fR and \fItarget\fR +system are not the same, i.e. if the \fBROOT\fR is not "\fI/\fR". +This is necessary where the package to be built needs an executable copy of +itself during the build process. +A known example is dev-lang/python, which needs to run a Python interpreter +during compilation. .SH "VARIABLES" .TP -- cgit v1.2.3-1-g7c22