Document targetroot useflag in ebuild(5)
authorDennis Schridde <devurandom@gmx.net>
Tue, 25 Sep 2012 13:58:24 +0000 (15:58 +0200)
committerZac Medico <zmedico@gentoo.org>
Tue, 25 Sep 2012 16:49:10 +0000 (09:49 -0700)
man/ebuild.5

index 2652f89c1ceebfe68d21768dac7b6a4905857818..0d5e4484d7967f093dc745a210a67697b7b4807d 100644 (file)
@@ -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