information when submitting a bug report.\fR Expanded output can be obtained
with the \fI\-\-verbose\fR option.
.TP
+.BR "\-\-inject " (\fB\-i\fR)
+Injecting a package inserts a 'stub' for that package so that Portage
+thinks that it is installed. It is handy if you need, say, a binary
+version of XFree86 for esoteric hardware, or you just like to roll
+your own packages. You \fBmust\fR specify a category and particular
+version of a package for injecting. For example,
+\fBemerge \-\-inject sys\-kernel/gentoo\-sources\-2.4.19\fR.
+.TP
.BR \-\-metadata
Causes portage to process all the metacache files as is normally done on the
tail end of an rsync update using \fBemerge \-\-sync\fR. The processing
.SH "OPTIONS"
.TP
.BR "\-\-ask " (\fB\-a\fR)
-Before performing the merge, display what ebuilds and tbz2s will be
-installed, in the same format as when using \fB\-\-pretend\fR; then ask
-whether to continue with the merge or abort. Using \fB\-\-ask\fR is more
-efficient than using \fB\-\-pretend\fR and then executing the same command
-without \fB\-\-pretend\fR, as dependencies will only need to be calculated
-once.
+Before performing the merge, display what ebuilds and tbz2s will be installed,
+in the same format as when using \fB\-\-pretend\fR; then ask whether to
+continue with the merge or abort. Using \fB\-\-ask\fR is more efficient than
+using \fB\-\-pretend\fR and then executing the same command without
+\fB\-\-pretend\fR, as dependencies will only need to be calculated once.
.TP
.BR "\-\-buildpkg " (\fB\-b\fR)
Tells emerge to build binary packages for all ebuilds processed in
listed in the dependencies of a package.
.TP
.BR "\-\-emptytree " (\fB\-e\fR)
-Virtually tweaks the tree of installed packages to contain nothing. This is
-great to use together with \fI\-\-pretend\fR. This makes it possible for
-developers to get a complete overview of the entire dependency tree of a
-certain package.
+Reinstalls all world packages and their dependencies to the current USE
+specifications while differing from the installed set of packages as
+little as possible. You should run with \fB\-\-pretend\fR first to make
+sure the result is what you expect.
.TP
.BR "\-\-fetchonly " (\fB\-f\fR)
Instead of doing any package building, just perform fetches for all
compilation. An asterisk marks when a USE flag has changed since the package
was compiled.
.TP
-.BR \-\-nocolor
+.BR "\-\-nocolor "
Make sure none of the output from portage contains color.
.TP
.BR "\-\-noconfmem"
.br
\fIN\fR = new, (not yet installed)
.br
-\fIS\fR = new, slot installation (side-by-side versions)
+\fIS\fR = new, SLOT installation (side-by-side versions)
.br
\fIU\fR = updating, (changing versions)
.br
use this option only in combination with the world or system target.
.TP
.BR "\-\-upgradeonly " (\fB\-U\fR)
-Updates packages, but excludes updates that would result in a lower version
-of the package being installed. \fBSLOT\fRs are considered at a basic level.
+Updates packages, but excludes updates that would result in a lower version of
+the package being installed. \fBSLOT\fRs are considered at a basic level.
.br
This option is deprecated and should not be used anymore. Please use the
/etc/portage/package.* files from now on.
.BR "\-\-version " (\fB\-V\fR)
Displays the version number of \fBemerge\fR. It cannot be used in
conjunction with other options.
+.SH "ENVIRONMENT OPTIONS"
+.TP
+\fBROOT\fR = \fI[path]\fR
+Use \fBROOT\fR to specify the target root filesystem to be used for
+merging packages or ebuilds.
+.br
+Defaults to /.
.SH "OUTPUT"
When utilizing \fBemerge\fR with the \fB\-\-pretend\fR and \fB\-\-verbose\fR
flags, the output may be a little hard to understand at first. This section
from /etc/make.profile/make.defaults. Please note that all user
settings should be made in the environment or in /etc/make.conf,
which is intended to be customized by the user.
-.br
+.br
Exceptions are incremental variables such as USE, CONFIG_PROTECT*,
and ACCEPT_KEYWORDS. Incremental variables are propagated down from
make.defaults to make.globals to make.conf to the environment
of the 'x86' architecture would set this to '~x86' while ppc users would
set this to '~ppc'. This is an incremental variable. Only define a
~arch.
-.br
+.br
Defaults to the value of $ARCH.
.TP
-\fBAUTOCLEAN\fR = \fI["yes" | "no"]\fR
-Automatically cleans the system by removing outdated packages which will not
-remove functionalities or prevent your system from working. On major ABI
-changes this may need to be set to off to ensure that the system can be
-rebuilt using the new libs before the old ones are removed. Downgrading with
-this option turned off may result in missing symlinks and an inoperable system.
-.br
-Defaults to yes.
-.TP
\fBBUILD_PREFIX\fR = \fI[path]\fR
Defines the location of the package working directory.
-.br
+.br
Defaults to ${PORTAGE_TMPDIR}/portage
.TP
.B CBUILD
This variable is passed by the \fIebuild scripts\fR to the \fIconfigure\fR
-as \fI\-\-build=${CBUILD}\fR only if it is defined.
+as \fI\-\-build=${CBUILD}\fR only if it is defined. Do not set this yourself
+unless you know what you are doing.
.TP
\fBCCACHE_SIZE\fR = \fI"size"\fR
This controls the space use limitations for ccache. The default is 2 gigabytes
to your specifications. Please use sane settings as some packages will fail to
compile/run if the optimizations are too extreme.
-For more information:
-.br
-http://gcc.gnu.org/onlinedocs/gcc\-3.2/gcc/Invoking\-GCC.html
-.br
-http://gcc.gnu.org/onlinedocs/gcc\-3.3/gcc/Invoking\-GCC.html
-.br
-http://gcc.gnu.org/onlinedocs/gcc\-2.95.3/gcc_2.html
+For more information, see the \fIInvoking GCC\fR section of the gcc manual:
+.br
+http://gcc.gnu.org/onlinedocs/
.TP
.B CHOST
This variable is passed by the \fIebuild scripts\fR to the \fIconfigure\fR
step as \fI\-\-host=${CHOST}\fR. This way you can force the build\-host.
For more information:
-.br
+.br
http://gcc.gnu.org/onlinedocs/gcc\-3.2/gcc/Submodel\-Options.html
-.br
+.br
http://gcc.gnu.org/onlinedocs/gcc\-3.3/gcc/Submodel\-Options.html
-.br
+.br
http://gcc.gnu.org/onlinedocs/gcc\-2.95.3/gcc_2.html
.TP
\fBCLEAN_DELAY\fR = \fIinteger\fR
Determines how long the countdown delay will be after running `emerge clean`.
-.br
+.br
Defaults to 5 seconds.
.TP
\fBCONFIG_PROTECT\fR = \fI[space delimited list of dirs]\fR
.TP
\fBDISTDIR\fR = \fI[path]\fR
Defines the location of your local source file repository.
-.br
+.br
Defaults to ${PORTDIR}/distfiles.
.TP
.B EBEEP_IGNORE
Portage uses lockfiles to ensure competing instances don't clobber
each other's files. This feature is enabled by default but may cause
heartache on less intelligent remote filesystems like NFSv2 and some
-strangely configured Samba server (oplocks off, NFS re-export). A tool
+strangely configured Samba server (oplocks off, NFS re\-export). A tool
/usr/lib/portage/bin/clean_locks exists to help handle lock issues
when a problem arises (normally due to a crash or disconnect).
.TP
Enable the sandbox in the compile phase, when running without root privs (\fIuserpriv\fR).
.RE
.TP
-\fBFETCHCOMMAND\fR
+.B FETCHCOMMAND
This variable contains the command used for fetching package sources from
the internet. It must contain the full path to the executable as well as the
place-holders \\${DISTDIR} and \\${URI}.
internet by \fBwget\fR(1). They are only required if you use a
proxy server for internet access.
.TP
-\fBMAKEOPTS\fR
+.B MAKEOPTS
Use this variable if you want to use parallel make. For example, if you
have a dual\-processor system, set this variable to "\-j2" or "\-j3" for
enhanced build performance with many packages. Suggested settings are
.TP
\fBNOCOLOR\fR = \fI["true" | "false"]\fR
Defines if color should be disabled by default.
-.br
+.br
Defaults to false.
.TP
\fBPKGDIR\fR = \fI[path]\fR
Defines the location where created .tbz2 binary packages will be stored.
-.br
+.br
Defaults to ${PORTDIR}/packages.
.TP
.B PORT_LOGDIR
.TP
\fBPORTAGE_TMPDIR\fR = \fI[path]\fR
Defines the location of the temporary build directories.
-.br
+.br
Defaults to /var/tmp.
.TP
\fBPORTDIR\fR = \fI[path]\fR
Defines the location of your Portage tree.
-.br
+.br
Defaults to /usr/portage.
.TP
\fBPORTDIR_OVERLAY\fR = \fI"[path] [different\-path] [etc...]"\fR
Defines the directories in which user made ebuilds may be stored and not
overwriten when `emerge \-\-sync` is run. This is a space delimited list of
directories.
-.br
+.br
Defaults to no value.
.TP
-\fBRESUMECOMMAND\fR
+.B RESUMECOMMAND
This variable contains the command used for resuming package sources that
have been partially downloaded. It should be defined using the same format
as \fBFETCHCOMMAND\fR.
Typically, you should set this setting in the environment rather than in
\fI/etc/make.conf\fR itself. It's commonly used for creating new build
images.
-.br
+.br
Defaults to /.
.TP
\fBRSYNC_EXCLUDEFROM\fR = \fI"/etc/portage/rsync_excludes"\fR
This is a file that portage will pass to rsync when it updates the portage
tree. Specific chucks of the tree may be excluded from the sync process.
This may cause dependency failures if you are not careful. The file format
-is pattern per line, blanks and ';' or '#' lines are comments. See
+is one pattern per line, blanks and ';' or '#' lines are comments. See
\fBrsync\fR(1) for more details.
.TP
\fBRSYNC_RETRIES\fR = \fI[NUMBER]\fR
The number of times rsync should retry on failed connections before
giving up.
-.br
+.br
Defaults to 3.
.TP
\fBRSYNC_TIMEOUT\fR = \fI[SECONDS]\fR
The number of seconds rsync should remain idle before it determines the
connection has timed out. Dialup users may need to set this value at or
above 300 seconds.
-.br
+.br
Defaults to 180 seconds.
.TP
\fBRPMDIR\fR = \fI[path]\fR
Defines the location where created RPM packages will be stored.
-.br
+.br
Defaults to ${PORTDIR}/rpm.
.TP
\fBSYNC\fR = \fI[RSYNC]\fR
Insert your preferred rsync mirror here. This rsync server
is used to sync the local portage tree when `emerge \-\-sync` is run.
-.br
+.br
Defaults to rsync://rsync.gentoo.org/gentoo\-portage
.TP
\fBUSE\fR = \fI[space delimited list of USE items]\fR
The above setting will cause the environment (env) to override per package (pkg)
settings to override make.conf (conf) to override auto generated values
from merged packages (auto) to override make.defaults (defaults).
-.br
+.br
\fB***warning***\fR
-.br
+.br
Do not modify this value unless you're a developer and you know what
you're doing. If you change this and something breaks, we will not help
you fix it.
-.br
+.br
Defaults to "env:pkg:conf:auto:defaults".
.SH "REPORTING BUGS"