ebuild: fetch: Flatten conditionals in _get_fetch_resume_size
[portage.git] / man / make.conf.5
1 .TH "MAKE.CONF" "5" "Jan 2014" "Portage VERSION" "Portage"
2 .SH "NAME"
3 make.conf \- custom settings for Portage
4 .SH "SYNOPSIS"
5 \fB/etc/make.conf\fR and \fB/etc/portage/make.conf\fR
6 .SH "DESCRIPTION"
7
8 This file contains various variables that are used by Portage. The file has a
9 newline\-delimited list of \fI<key>=<value>\fR pairs (see the default file for
10 examples) which are accessible from the environment of ebuilds. It supports
11 simple shell\-like expansion of the form \fIvar="${var}"\fR, the source
12 keyword and variable substitution, but not some of the more advanced BASH
13 features like arrays and special parameter expansions. For more details, see
14 the Simple lexical analysis documentation:
15 \fLhttp://docs.python.org/3/library/shlex.html\fR. Note that if you source
16 files, they need to be in the same shlex syntax for portage to read them.
17 .br
18 Portage will check the currently\-defined environment variables
19 first for any settings.  If no environment settings are found,
20 Portage then checks the make.conf files. Both /etc/make.conf and
21 /etc/portage/make.conf are checked (if present), and settings from
22 /etc/portage/make.conf will override settings from /etc/make.conf.
23 If no setting is found in the make.conf files, Portage checks
24 make.globals. If no
25 setting is found there, the profile's default setting is grabbed
26 from /etc/portage/make.profile/make.defaults. Please note that all user
27 settings should be made in the environment or in the make.conf
28 files, which are intended to be customized by the user.
29 .br
30 Exceptions are incremental variables such as USE, CONFIG_PROTECT*,
31 and ACCEPT_KEYWORDS.  Incremental variables are propagated down from
32 make.defaults to make.globals to make.conf to the environment
33 settings.  Clearing these variables requires a clear\-all as in:
34 export USE="\-*"
35 .br
36 In order to create per\-package environment settings, refer to
37 \fBpackage.env\fR in \fBportage\fR(5).
38 .SH "VARIABLES"
39 .TP
40 \fBACCEPT_CHOSTS\fR = \fI[space delimited list of CHOST values]\fR
41 Specifies acceptable \fBCHOST\fR values. Regular
42 expression syntax is supported, so it is necessary to escape
43 \fBCHOST\fR characters if they have special meaning in regular expressions.
44 .br
45 Defaults to the value of $CHOST.
46 .TP
47 \fBACCEPT_KEYWORDS\fR = \fI[space delimited list of KEYWORDS]\fR
48 Enable testing of ebuilds that have not yet been deemed 'stable'.  Users
49 of the 'x86' architecture would set this to '~x86' while ppc users would
50 set this to '~ppc'.  This is an incremental variable.  Only define a
51 ~arch.
52 .br
53 Defaults to the value of $ARCH.
54 .TP
55 \fBACCEPT_LICENSE\fR = \fI[space delimited list of licenses or groups]\fR
56 This variable is used to mask packages based on licensing restrictions. It
57 may contain both license and group names, where group names are prefixed
58 with the '@' symbol. License groups are defined in the \fIlicense_groups\fR
59 file (see \fBportage\fR(5)). In addition to license and group names, the
60 \fI*\fR and \fI-*\fR wildcard tokens are also supported. Refer to GLEP 23
61 for further information:
62 \fIhttp://www.gentoo.org/proj/en/glep/glep-0023.html\fR.
63 .br
64 Defaults to the value of * -@EULA.
65 .br
66 .I Examples:
67 .nf
68 # Only accept licenses in the FREE license group (i.e. Free Software)
69 ACCEPT_LICENSE="-* @FREE"
70 # As before, but exclude the "Artistic" license
71 ACCEPT_LICENSE="-* @FREE -Artistic"
72 # Accept any license except those in the EULA license group (default)
73 ACCEPT_LICENSE="* -@EULA"
74 .fi
75 .TP
76 \fBACCEPT_PROPERTIES\fR = \fI[space delimited list of properties]\fR
77 This variable is used to mask packages based on PROPERTIES restrictions.
78 In addition to property names, the \fI*\fR and \fI-*\fR wildcard tokens are
79 also supported. This variable can be temporarily overridden using the
80 \fB\-\-accept\-properties\fR option of \fBemerge\fR(1).
81 See \fBebuild\fR(5) for more information about PROPERTIES.
82 .br
83 Defaults to the value of *.
84 .br
85 .I Examples:
86 .nf
87 # Accept any properties
88 ACCEPT_PROPERTIES="*"
89 # Accept any properties except the "interactive" property
90 ACCEPT_PROPERTIES="* -interactive"
91 .fi
92 .TP
93 \fBACCEPT_RESTRICT\fR = \fI[space delimited list of RESTRICT tokens]\fR
94 This variable is used to mask packages based on RESTRICT tokens.
95 In addition to RESTRICT tokens, the \fI*\fR and \fI-*\fR wildcard tokens are
96 also supported. This variable can be temporarily overridden using the
97 \fB\-\-accept\-restrict\fR option of \fBemerge\fR(1).
98 See \fBebuild\fR(5) for more information about RESTRICT.
99 .br
100 Defaults to the value of *.
101 .br
102 .I Examples:
103 .nf
104 # Accept any restrict tokens
105 ACCEPT_RESTRICT="*"
106 # Accept any tokens except "bindist"
107 ACCEPT_RESTRICT="* -bindist"
108 .fi
109 .TP
110 .B CBUILD
111 This variable is passed by the \fIebuild scripts\fR to the \fIconfigure\fR
112 as \fI\-\-build=${CBUILD}\fR only if it is defined.  Do not set this yourself
113 unless you know what you are doing.
114 .TP
115 \fBCCACHE_DIR\fR = \fI[path]\fR
116 Defines the location of the ccache working directory.  See the \fBccache\fR(1)
117 man page for more information.
118 .br
119 Defaults to /var/tmp/ccache
120 .TP
121 \fBCCACHE_SIZE\fR = \fI"size"\fR
122 This controls the space use limitations for ccache.  The default is 2 gigabytes
123 ('2G').  Sizes are specified with 'G', 'M', or 'K'.
124 .TP
125 .B CFLAGS CXXFLAGS
126 Use these variables to set the desired optimization/CPU instruction settings
127 for applications that you compile.  These two variables are passed to the C
128 and C++ compilers, respectively. (CXX is used to refer to the C++ compiler
129 within many buildsystems.) Nearly all ebuild files will take advantage
130 of your custom settings, resulting in a Gentoo Linux that is fully customized
131 to your specifications.  Please use sane settings as some packages will fail to
132 compile/run if the optimizations are too extreme.
133
134 For more information, see the \fIInvoking GCC\fR section of the gcc manual:
135 .br
136 http://gcc.gnu.org/onlinedocs/
137 .TP
138 .B CHOST
139 This variable is passed by the \fIebuild scripts\fR to the \fIconfigure\fR
140 step as \fI\-\-host=${CHOST}\fR.  This way you can force the build\-host.
141
142 For more information:
143 .br
144 http://gcc.gnu.org/onlinedocs/gcc\-4.1.1/gcc/Submodel\-Options.html
145 .br
146 http://gcc.gnu.org/onlinedocs/gcc\-3.3/gcc/Submodel\-Options.html
147 .br
148 http://gcc.gnu.org/onlinedocs/gcc\-3.2/gcc/Submodel\-Options.html
149 .br
150 http://gcc.gnu.org/onlinedocs/gcc\-2.95.3/gcc_2.html
151 .TP
152 \fBCLEAN_DELAY\fR = \fIinteger\fR
153 Determines how long the countdown delay will be after running
154 `emerge --unmerge`.
155 .br
156 Defaults to 5 seconds.
157 .TP
158 \fBCOLLISION_IGNORE\fR = \fI[space delimited list of fnmatch patterns]\fR
159 This variable allows the user to disable \fIcollision\-protect\fR and
160 \fIprotect\-owned\fR for specific \fBfnmatch\fR(3) patterns. For backward
161 compatibility, directories that are listed without a fnmatch pattern will
162 automatically have /* appended to them.
163 .br
164 Defaults to "/lib/modules/* *.py[co]".
165 .TP
166 \fBCONFIG_PROTECT\fR = \fI[space delimited list of files and/or directories]\fR
167 All files and/or directories that are defined here will have "config file
168 protection" enabled for them. See the \fBCONFIGURATION FILES\fR section
169 of \fBemerge\fR(1) for more information.
170 .TP
171 \fBCONFIG_PROTECT_MASK\fR = \fI[space delimited list of files and/or \
172 directories]\fR
173 All files and/or directories that are defined here will have "config file
174 protection" disabled for them. See the \fBCONFIGURATION FILES\fR section
175 of \fBemerge\fR(1) for more information.
176 .TP
177 .B CTARGET
178 This variable is passed by the \fIebuild scripts\fR to the \fIconfigure\fR
179 as \fI\-\-target=${CTARGET}\fR only if it is defined.
180 .TP
181 \fBDISTDIR\fR = \fI[path]\fR
182 Defines the location of your local source file repository. After packages
183 are built, it is safe to remove any and all files from this directory since
184 they will be automatically fetched on demand for a given build. If you would
185 like to selectively prune obsolete files from this directory, see
186 \fBeclean\fR(1) from the gentoolkit package.
187
188 Use the \fBPORTAGE_RO_DISTDIRS\fR variable to specify one or
189 more read-only directories containing distfiles.
190
191 Note
192 that locations under /usr/portage are not necessarily safe for data storage.
193 See the \fBPORTDIR\fR documentation for more information.
194 .br
195 Defaults to /usr/portage/distfiles.
196 .TP
197 .B DCO_SIGNED_OFF_BY
198 This variable may contain a name and email address which will be used by
199 \fBrepoman\fR(1) to add a Signed\-off\-by line to each commit message.
200 .TP
201 .B DOC_SYMLINKS_DIR
202 If this variable contains a directory then symlinks to html documentation will
203 be installed into it.
204 .TP
205 .B EBEEP_IGNORE
206 Defines whether or not to ignore audible beeps when displaying important
207 informational messages.  This variable is unset by default.
208 .TP
209 .B EMERGE_DEFAULT_OPTS
210 Options to append to the end of the \fBemerge\fR(1) command line on every
211 invocation. These options will not be appended to the command line if
212 \-\-ignore\-default\-opts is specified.
213 .TP
214 .B EMERGE_LOG_DIR
215 Controls the location of emerge.log and emerge-fetch.log.
216 .br
217 Defaults to /var/log.
218 .TP
219 \fBEMERGE_WARNING_DELAY\fR = \fIinteger\fR
220 Determines how long the countdown delay will be after running
221 `emerge --unmerge` for a system package.
222 .br
223 Defaults to 10 seconds.
224 .TP
225 .B EPAUSE_IGNORE
226 Defines whether or not to ignore short pauses that occur when displaying
227 important informational messages.  This variable is unset by default.
228 If it is set to any value pauses are ignored.
229 .TP
230 \fBEXTRA_ECONF\fR = \fI[configure options string]\fR
231 Contains additional options that \fBeconf\fR will append to configure
232 script arguments (see \fBebuild\fR(5)).
233 .TP
234 \fBFEATURES\fR = \fI"sandbox"\fR
235 Defines actions portage takes by default. This is an incremental variable.
236 Most of these settings are for developer use, but some are available to
237 non-developers as well. The \fBsandbox\fR feature is very important and
238 should not be disabled by default.
239 .RS
240 .TP
241 .B assume\-digests
242 When commiting work to cvs with \fBrepoman\fR(1), assume that all existing
243 SRC_URI digests are correct.  This feature also affects digest generation via
244 \fBebuild\fR(1) and \fBemerge\fR(1) (emerge generates digests only when the
245 \fIdigest\fR feature is enabled). Existing digests for files that do not exist
246 in ${DISTDIR} will be automatically assumed even when \fIassume\-digests\fR is
247 not enabled. If a file exists in ${DISTDIR} but its size does not match the
248 existing digest, the digest will be regenerated regardless of whether or
249 not \fIassume\-digests\fR is enabled. The \fBebuild\fR(1) \fBdigest\fR command
250 has a \fB\-\-force\fR option that can be used to force regeneration of digests.
251 .TP
252 .B binpkg\-logs
253 Keep logs from successful binary package merges. This is relevant only when
254 \fBPORT_LOGDIR\fR is set.
255 .TP
256 .B buildpkg
257 Binary packages will be created for all packages that are merged. Also see
258 \fBquickpkg\fR(1) and \fBemerge\fR(1) \fB\-\-buildpkg\fR and
259 \fB\-\-buildpkgonly\fR options.
260 .TP
261 .B buildsyspkg
262 Build binary packages for just packages in the system set.
263 .TP
264 .B candy
265 Enable a special progress indicator when \fBemerge\fR(1) is calculating
266 dependencies.
267 .TP
268 .B ccache
269 Enable portage support for the ccache package.  If the ccache dir is not
270 present in the user's environment, then portage will default to
271 ${PORTAGE_TMPDIR}/ccache.
272
273 \fBWarning\fR: This feature is known to cause numerous compilation failures.
274 Sometimes ccache will retain stale code objects or corrupted files, which can
275 lead to packages that cannot be emerged. If this happens (if you receive errors
276 like "File not recognized: File truncated"), try recompiling the application
277 with ccache disabled before reporting a bug. Unless you are doing development
278 work, do not enable ccache.
279 .TP
280 .B cgroup
281 Use Linux control group to control processes spawned by ebuilds. This allows
282 emerge to safely kill all subprocesses when ebuild phase exits.
283 .TP
284 .B clean\-logs
285 Enable automatic execution of the command specified by the
286 PORT_LOGDIR_CLEAN variable. The default PORT_LOGDIR_CLEAN setting will
287 remove all files from PORT_LOGDIR that were last modified at least 7
288 days ago.
289 .TP
290 .B collision\-protect
291 A QA\-feature to ensure that a package doesn't overwrite files it doesn't own.
292 The \fICOLLISION_IGNORE\fR variable can be used to selectively disable this
293 feature. Also see the related \fIprotect\-owned\fR feature.
294 .TP
295 .B compress\-build\-logs
296 The causes all build logs to be compressed while they are being written.
297 Log file names have an extension that is appropriate for the compression
298 type. Currently, only \fBgzip\fR(1) compression is supported, so build
299 logs will have a '.gz' extension when this feature is enabled.
300 .TP
301 .B compressdebug
302 Compress the debug sections in the split debug files with zlib to save
303 space.  Make sure you have built both binutils and gdb with USE=zlib
304 support for this to work.  See \fBsplitdebug\fR for general split debug
305 information (upon which this feature depends).
306 .TP
307 .B compress\-index
308 If set then a compressed copy of 'Packages' index file will be written.
309 This feature is intended for Gentoo binhosts using certain webservers
310 (such as, but not limited to, Nginx with gzip_static module) to avoid
311 redundant on\-the\-fly compression.  The resulting file will be called
312 \[aq]Packages.gz' and its modification time will match that of 'Packages'.
313 .TP
314 .B config\-protect\-if\-modified
315 This causes the \fBCONFIG_PROTECT\fR behavior to be skipped for files
316 that have not been modified since they were installed. This feature is
317 enabled by default.
318 .TP
319 .B digest
320 Autogenerate digests for packages when running the
321 \fBemerge\fR(1), \fBebuild\fR(1), or \fBrepoman\fR(1) commands. If
322 the \fIassume\-digests\fR feature is also enabled then existing SRC_URI digests
323 will be reused whenever they are available.
324 .TP
325 .B distcc
326 Enable portage support for the distcc package.
327 .TP
328 .B distcc\-pump
329 Enable portage support for the distcc package with pump mode.
330 .TP
331 .B distlocks
332 Portage uses lockfiles to ensure competing instances don't clobber
333 each other's files. This feature is enabled by default but may cause
334 heartache on less intelligent remote filesystems like NFSv2 and some
335 strangely configured Samba server (oplocks off, NFS re\-export). A tool
336 /usr/lib/portage/bin/clean_locks exists to help handle lock issues
337 when a problem arises (normally due to a crash or disconnect).
338 .TP
339 .B downgrade\-backup
340 When a package is downgraded to a lower version, call \fBquickpkg\fR(1)
341 in order to create a backup of the installed version before it is
342 unmerged (if a binary package of the same version does not already
343 exist). Also see the related \fIunmerge\-backup\fR feature.
344 .TP
345 .B ebuild\-locks
346 Use locks to ensure that unsandboxed ebuild phases never execute
347 concurrently. Also see \fIparallel\-install\fR.
348 .TP
349 .B fakeroot
350 Enable fakeroot for the install and package phases when a non-root user runs
351 the \fBebuild\fR(1) command.
352 .TP
353 .B fail\-clean
354 Clean up temporary files after a build failure. This is particularly useful
355 if you have \fBPORTAGE_TMPDIR\fR on tmpfs. If this feature is enabled, you
356 probably also want to enable \fBPORT_LOGDIR\fR in order to save the build log.
357 Both the \fBebuild\fR(1) command and the \fInoclean\fR feature cause the
358 \fIfail\-clean\fR feature to be automatically disabled.
359 .TP
360 .B getbinpkg
361 Force emerges to always try to fetch files from the \fIPORTAGE_BINHOST\fR.  See
362 \fBmake.conf\fR(5) for more information.
363 .TP
364 .B installsources
365 Install source code into /usr/src/debug/${CATEGORY}/${PF} (also see
366 \fBsplitdebug\fR). This feature works only if debugedit is installed and CFLAGS
367 is set to include debug information (such as with the \-ggdb flag).
368 .TP
369 .B keeptemp
370 Do not delete the ${T} directory after the merge process.
371 .TP
372 .B keepwork
373 Do not delete the ${WORKDIR} directory after the merge process. ${WORKDIR} can
374 then be reused since this feature disables most of the clean phase that runs
375 prior to each build. Due to lack of proper cleanup, this feature can
376 interfere with normal emerge operation and therefore it should not be left
377 enabled for more than a short period of time.
378 .TP
379 .B fixlafiles
380 Modifies .la files to not include other .la files and some other
381 fixes (order of flags, duplicated entries, ...)
382 .TP
383 .B force\-mirror
384 Only fetch files from configured mirrors, ignoring \fBSRC_URI\fR,
385 except when \fImirror\fR is in the \fBebuild\fR(5) \fBRESTRICT\fR variable.
386 .TP
387 .B force\-prefix
388 Enable prefix support for all ebuilds, regardless of EAPI, since older EAPIs
389 would otherwise be useless with prefix configurations. This brings
390 compatibility with the prefix branch of portage, which also supports EPREFIX
391 for all EAPIs (for obvious reasons).
392 .TP
393 .B ipc\-sandbox
394 Isolate the ebuild phase functions from host IPC namespace. Supported
395 only on Linux. Requires network namespace support in kernel.
396 .TP
397 .B lmirror
398 When \fImirror\fR is enabled in \fBFEATURES\fR, fetch files even
399 when \fImirror\fR is also in the \fBebuild\fR(5) \fBRESTRICT\fR variable.
400 Do \fBNOT\fR use \fIlmirror\fR for clients that need to override \fBRESTRICT\fR
401 when fetching from a local mirror, but instead use a "local" mirror setting
402 in \fI/etc/portage/mirrors\fR, as described in \fBportage\fR(5).
403 .TP
404 .B merge\-sync
405 After a package is merged or unmerged, sync relevant files to
406 disk in order to avoid data\-loss in the event of a power failure.
407 This feature is enabled by default.
408 .TP
409 .B metadata\-transfer
410 Automatically perform a metadata transfer when `emerge \-\-sync` is run.
411 In versions of portage >=2.1.5, this feature is disabled by
412 default. When metadata\-transfer is disabled, metadata cache from the
413 ${repository_location}/metadata/md5\-cache/ directory will be used directly
414 (if available).
415 .TP
416 .B mirror
417 Fetch everything in \fBSRC_URI\fR regardless of \fBUSE\fR settings,
418 except do not fetch anything when \fImirror\fR is in \fBRESTRICT\fR.
419 .TP
420 .B multilib\-strict
421 Many Makefiles assume that their libraries should go to /usr/lib, or
422 $(prefix)/lib. This assumption can cause a serious mess if /usr/lib
423 isn't a symlink to /usr/lib64. To find the bad packages, we have a
424 portage feature called \fImultilib\-strict\fR. It will prevent emerge
425 from putting 64bit libraries into anything other than (/usr)/lib64.
426 .TP
427 .B network\-sandbox
428 Isolate the ebuild phase functions from host network interfaces.
429 Supported only on Linux. Requires network namespace support in kernel.
430 .TP
431 .B news
432 Enable GLEP 42 news support. See
433 \fIhttp://www.gentoo.org/proj/en/glep/glep-0042.html\fR.
434 .TP
435 .B noauto
436 When utilizing \fBebuild\fR(1), only run the function requested. Also, forces
437 the corresponding ebuild and eclasses to be sourced again for each phase, in
438 order to account for modifications.
439 .TP
440 .B noclean
441 Do not delete the the source and temporary files after the merge process.
442 .TP
443 .B nodoc
444 Do not install doc files (/usr/share/doc).
445 .TP
446 .B noinfo
447 Do not install info pages.
448 .TP
449 .B noman
450 Do not install manpages.
451 .TP
452 .B nostrip
453 Prevents the stripping of binaries that are merged to the live filesystem.
454 .TP
455 .B notitles
456 Disables xterm titlebar updates (which contains status info).
457 .TP
458 .B parallel\-fetch
459 Fetch in the background while compiling. Run
460 `tail \-f /var/log/emerge\-fetch.log` in a
461 terminal to view parallel-fetch progress.
462 .TP
463 .B parallel\-install
464 Use finer\-grained locks when installing packages, allowing for greater
465 parallelization. For additional parallelization, disable
466 \fIebuild\-locks\fR.
467 .TP
468 .B prelink\-checksums
469 If \fBprelink\fR(8) is installed then use it to undo any prelinks on files
470 before computing checksums for merge and unmerge. This feature is
471 useful only if \fBprelink\fR(8) is installed and accurate checksums (despite
472 prelinking) are needed for some reason such as for checking the integrity of
473 installed files or because the \fIunmerge\-orphans\fR feature is disabled.
474
475 Note that normal emerging of packages from source computes the
476 checksums before things will be prelinked, so in such cases, this
477 feature isn't required either. Undoing prelinking while merging is
478 only required when using tools like \fBquickpkg\fR(1) which can cause
479 already prelinked files to be merged.
480 .TP
481 .B preserve\-libs
482 Preserve libraries when the sonames change during upgrade or downgrade.
483 Libraries are preserved only if consumers of those libraries are detected.
484 Preserved libraries are automatically removed when there are no remaining
485 consumers. Run `emerge @preserved\-rebuild` in order to rebuild all
486 consumers of preserved libraries.
487 .TP
488 .B protect\-owned
489 This is identical to the \fIcollision\-protect\fR feature except that files
490 may be overwritten if they are not explicitly listed in the contents of a
491 currently installed package. This is particularly useful on systems that
492 have lots of orphan files that have been left behind by older versions
493 of portage that did not support the \fIunmerge\-orphans\fR feature. Like
494 \fIcollision\-protect\fR, the \fICOLLISION_IGNORE\fR variable can be used to
495 selectively disable this feature. It is recommended to leave either
496 \fIprotect\-owned\fR or \fIcollision\-protect\fR enabled at all times,
497 since otherwise file collisions between packages may result in files being
498 overwritten or uninstalled at inappropriate times.
499 If \fIcollision\-protect\fR is enabled then it takes precedence over
500 \fIprotect\-owned\fR.
501 .TP
502 .B python\-trace
503 Output a verbose trace of python execution to stderr when a command's
504 \-\-debug option is enabled.
505 .TP
506 .B sandbox
507 Enable sandbox\-ing when running \fBemerge\fR(1) and \fBebuild\fR(1).
508 .TP
509 .B sesandbox
510 Enable SELinux sandbox\-ing.  Do not toggle this \fBFEATURE\fR yourself.
511 .TP
512 .B sfperms
513 Stands for Smart Filesystem Permissions.  Before merging packages to the
514 live filesystem, automatically search for and set permissions on setuid
515 and setgid files.  Files that are setuid have the group and other read
516 bits removed while files that are setgid have the other read bit removed.
517 See also \fIsuidctl\fR below.
518 .TP
519 .B sign
520 When commiting work to cvs with \fBrepoman\fR(1), sign the Manifest with
521 a GPG key.  Read about the \fIPORTAGE_GPG_KEY\fR variable in
522 \fBmake.conf\fR(5).
523 .TP
524 .B skiprocheck
525 Skip write access checks on \fBDISTDIR\fR when fetching files. This is
526 useful when \fBFETCHCOMMAND\fR and \fBRESUMECOMMAND\fR are used to
527 forward fetch requests to a server that exposes \fBDISTDIR\fR as
528 a read-only NFS share. A read-only \fBDISTDIR\fR is not compatible with the
529 \fIdistlocks\fR, so it is recommended to also add "-distlocks" to
530 \fBFEATURES\fR in order to avoid warning messages that are triggered by this
531 incompatibility.
532 .TP
533 .B split\-elog
534 Store logs created by \fBPORTAGE_ELOG_SYSTEM="save"\fR in category
535 subdirectories of \fBPORT_LOGDIR/elog\fR, instead of using
536 \fBPORT_LOGDIR/elog\fR directly.
537 .TP
538 .B split\-log
539 Store build logs in category subdirectories of \fBPORT_LOGDIR/build\fR,
540 instead of using \fBPORT_LOGDIR\fR directly.
541 .TP
542 .B splitdebug
543 Prior to stripping ELF etdyn and etexec files, the debugging info is
544 stored for later use by various debuggers.  This feature is disabled by
545 \fBnostrip\fR.  You should also consider setting \fBcompressdebug\fR so
546 the files don't suck up a lot of space.  For installation of source code,
547 see \fBinstallsources\fR.
548 .TP
549 .B strict
550 Have portage react strongly to conditions that have the potential to be
551 dangerous (like missing or incorrect digests for ebuilds).
552 .TP
553 .B stricter
554 Have portage react strongly to conditions that may conflict with system
555 security provisions (for example textrels, executable stack).  Read about
556 the \fIQA_STRICT_*\fR variables in \fBmake.conf\fR(5).
557 .TP
558 .B suidctl
559 Before merging packages to the live filesystem, automatically strip setuid
560 bits from any file that is not listed in \fI/etc/portage/suidctl.conf\fR.
561 .TP
562 .B test
563 Run package\-specific tests during each merge to help make sure
564 the package compiled properly.  See \fItest\fR in \fBebuild\fR(1)
565 and \fIsrc_test()\fR in \fBebuild\fR(5). This feature implies the "test"
566 \fBUSE\fR flag if it is a member of \fBIUSE\fR, either explicitly or
567 implicitly (see \fBebuild\fR(5) for more information about \fBIUSE\fR).
568 The "test" \fBUSE\fR flag is also automatically disabled when the
569 "test" feature is disabled.
570 .TP
571 .B test\-fail\-continue
572 If "test" is enabled \fBFEATURES\fR and the test phase of an ebuild fails,
573 continue to execute the remaining phases as if the failure had not occurred.
574 Note that the test phase for a specific package may be disabled by masking
575 the "test" \fBUSE\fR flag in \fBpackage.use.mask\fR (see \fBportage\fR(5)).
576 .TP
577 .B unmerge\-backup
578 Call \fBquickpkg\fR(1) to create a backup of each package before it is
579 unmerged (if a binary package of the same version does not already exist).
580 Also see the related \fIdowngrade\-backup\fR feature.
581 .TP
582 .B unmerge\-logs
583 Keep logs from successful unmerge phases. This is relevant only when
584 \fBPORT_LOGDIR\fR is set.
585 .TP
586 .B unmerge\-orphans
587 If a file is not claimed by another package in the same slot and it is not
588 protected by \fICONFIG_PROTECT\fR, unmerge it even if the modification time or
589 checksum differs from the file that was originally installed.
590 .TP
591 .B unknown\-features\-filter
592 Filter out any unknown values that the FEATURES variable contains.
593 .TP
594 .B unknown\-features\-warn
595 Warn if FEATURES contains one or more unknown values.
596 .TP
597 .B userfetch
598 When portage is run as root, drop privileges to portage:portage during the
599 fetching of package sources.
600 .TP
601 .B userpriv
602 Allow portage to drop root privileges and compile packages as
603 portage:portage without a sandbox (unless \fIusersandbox\fR is also used).
604 .TP
605 .B usersandbox
606 Enable the sandbox in the compile phase, when running without root privs
607 (\fIuserpriv\fR).
608 .TP
609 .B usersync
610 Drop privileges to the owner of ${repository_location} for \fBemerge(1) --sync\fR
611 operations. Note that this feature assumes that all subdirectories of
612 ${repository_location} have the same ownership as ${repository_location} itself.
613 It is the user's responsibility to ensure correct ownership, since otherwise
614 Portage would have to waste time validating ownership for each and every sync
615 operation.
616 .TP
617 .B webrsync-gpg
618 Enable GPG verification when using \fIemerge\-webrsync\fR.
619 .TP
620 .B xattr
621 Preserve extended attributes (filesystem-stored metadata) when installing
622 files (see \fBattr\fR(1)). The \fBPORTAGE_XATTR_EXCLUDE\fR variable may be
623 used to exclude specific attributes from being preserved.
624 .RE
625 .TP
626 .B FETCHCOMMAND
627 This variable contains the command used for fetching package sources from
628 the internet.  It must contain the full path to the executable as well as the
629 place\-holders \\${DISTDIR}, \\${FILE} and \\${URI}.  The command should be
630 written to place the fetched file at \\${DISTDIR}/\\${FILE}.
631 Also see \fBRESUMECOMMAND\fR.
632 .TP
633 .B FFLAGS FCFLAGS
634 Use these variables to set the desired optimization/CPU instruction settings
635 for applications that you compile with a FORTRAN compiler. FFLAGS is usually
636 passed to the FORTRAN 77 compiler, and FCFLAGS to any FORTRAN compiler in
637 more modern build systems.
638
639 For more information, see the \fIInvoking GCC\fR section of the gcc manual:
640 .br
641 http://gcc.gnu.org/onlinedocs/
642 .TP
643 \fBGENTOO_MIRRORS\fR = \fI[URIs]\fR
644 Insert your space\-separated list of local mirrors here.  These
645 locations are used to download files before the ones listed in
646 the \fIebuild scripts\fR. Merging 'mirrorselect' can help.  Entries in this
647 variable that have no protocol and simply start with a '/' path separator may
648 be used to specify mounted filesystem mirrors.
649 .TP
650 \fBhttp_proxy ftp_proxy RSYNC_PROXY\fR = \fI[protocol://host:port]\fR
651 These variables are used by network clients such as \fBwget\fR(1) and
652 \fBrsync\fR(1). They are only required if you use a
653 proxy server for internet access.
654 .TP
655 \fBINSTALL_MASK\fR = \fI[space delimited list of file names]\fR
656 Use this variable if you want to selectively prevent certain files from being
657 copied into your file system tree.  This does not work on symlinks, but only on
658 actual files.  Useful if you wish to filter out files like HACKING.gz and
659 TODO.gz. The \fBINSTALL_MASK\fR is processed just before a package is merged.
660 Also supported is a \fBPKG_INSTALL_MASK\fR variable that behaves exactly like
661 \fBINSTALL_MASK\fR except that it is processed just before creation of a binary
662 package.
663 .TP
664 .B LDFLAGS
665 A list of flags to pass to the compiler when the linker will be called. See
666 \fBld\fR(1) for linker flags, but don't forget that these flags will be passed
667 directly to the compiler. Thus, you must use '-Wl' to escape the flags
668 which only the linker understands (see \fBgcc\fR(1)).
669
670 \fB***warning***\fR
671 .br
672 Setting this and other *FLAGS variables arbitrarily may cause compile or
673 runtime failures. Bug reports submitted when nonstandard values are
674 enabled for these flags may be closed as INVALID.
675 .TP
676 .B MAKEOPTS
677 Use this variable if you want to use parallel make.  For example, if you
678 have a dual\-processor system, set this variable to "\-j2" or "\-j3" for
679 enhanced build performance with many packages. Suggested settings are
680 between \fICPUs+1\fR and \fI2*CPUs+1\fR. In order to avoid
681 excess load, the \fB\-\-load\-average\fR option is recommended.
682 For more information, see \fBmake\fR(1). Also see \fBemerge\fR(1) for
683 information about analogous \fB\-\-jobs\fR and \fB\-\-load\-average\fR options.
684 .TP
685 \fBNOCOLOR\fR = \fI["true" | "false"]\fR
686 Defines if color should be disabled by default.
687 .br
688 Defaults to false.
689 .TP
690 \fBPKGDIR\fR = \fI[path]\fR
691 Defines the location where created .tbz2 binary packages will be
692 stored when the \fBemerge\fR(1) \fB\-\-buildpkg\fR option is enabled.
693 By default, a given package is stored in a subdirectory corresponding
694 to it's category. However, for backward compatibility with the layout
695 used by older versions of portage, if the \fI${PKGDIR}/All\fR directory
696 exists then all packages will be stored inside of it and symlinks to
697 the packages will be created in the category subdirectories. Note
698 that locations under /usr/portage are not necessarily safe for data storage.
699 See the \fBPORTDIR\fR documentation for more information.
700 .br
701 Defaults to /usr/portage/packages.
702 .TP
703 .B PORT_LOGDIR
704 This variable defines the directory in which per\-ebuild logs are kept.
705 Logs are created only when this is set. They are stored as
706 ${CATEGORY}:${PF}:YYYYMMDD\-HHMMSS.log in the directory specified. If the
707 directory does not exist, it will be created automatically and group
708 permissions will be applied to it.  If the directory already exists, portage
709 will not modify it's permissions.
710 .TP
711 .B PORT_LOGDIR_CLEAN
712 This variable should contain a command for portage to call in order
713 to clean PORT_LOGDIR. The command string should contain a
714 \\${PORT_LOGDIR} place\-holder that will be substituted
715 with the value of that variable. This variable will have no effect
716 unless \fBclean\-logs\fR is enabled in \fBFEATURES\fR.
717 .TP
718 \fBPORTAGE_BINHOST\fR = \fI[space delimited URI list]\fR
719 This is a list of hosts from which portage will grab prebuilt\-binary packages.
720 Each entry in the list must specify the full address of a directory
721 serving tbz2's for your system (this directory must contain a 'Packages' index
722 file). This is only used when running with
723 the get binary pkg options are given to \fBemerge\fR.  Review \fBemerge\fR(1)
724 for more information.
725 .TP
726 \fBPORTAGE_BINHOST_HEADER_URI\fR = \
727 \fI"ftp://login:pass@grp.mirror.site/pub/grp/i686/athlon\-xp/"\fR
728 This variable only makes sense on a system that will serve as a binhost and
729 build packages for clients.  It defines the URI header field for the package
730 index file which is located at ${PKGDIR}/Packages. Clients that have
731 \fBPORTAGE_BINHOST\fR properly configured will be able to fetch the index and
732 use the URI header field as a base URI for fetching binary packages. If the URI
733 header field is not defined then the client will use it's ${PORTAGE_BINHOST}
734 setting as the base URI.
735 .TP
736 .B PORTAGE_BINPKG_TAR_OPTS
737 This variable contains options to be passed to the tar command for creation
738 of binary packages.
739 .TP
740 .B PORTAGE_BINPKG_FORMAT
741 This variable sets default format used for binary packages. Possible values
742 are tar and rpm or both.
743 .TP
744 \fBPORTAGE_BUNZIP2_COMMAND\fR = \fI[bunzip2 command string]\fR
745 This variable should contain a command that is suitable for portage to call
746 for bunzip2 extraction operations.
747 .TP
748 \fBPORTAGE_BZIP2_COMMAND\fR = \fI[bzip2 command string]\fR
749 This variable should contain a command that is suitable for portage to call
750 for bzip2 compression operations. \fBPORTAGE_BZIP2_COMMAND\fR will also be
751 called for extraction operation, with -d appended, unless the
752 \fBPORTAGE_BUNZIP2_COMMAND\fR variable is set.
753 .TP
754 \fBPORTAGE_CHECKSUM_FILTER\fR = \fI[space delimited list of hash names]\fR
755 This variable may be used to filter the hash functions that are used to
756 verify integrity of files. Hash function names are case\-insensitive, and
757 the \fI*\fR and \fI\-*\fR wildcard tokens are supported.
758 .br
759 Defaults to the value of *.
760 .br
761 .I Examples:
762 .nf
763 # Use all available hash functions
764 PORTAGE_CHECKSUM_FILTER="*"
765 # Use any function except whirlpool
766 PORTAGE_CHECKSUM_FILTER="* \-whirlpool"
767 # Only use sha256
768 PORTAGE_CHECKSUM_FILTER="\-* sha256"
769 .fi
770 .TP
771 \fBPORTAGE_COMPRESS\fR = \fI"bzip2"\fR
772 This variable contains the command used to compress documentation during the
773 install phase.
774 .TP
775 \fBPORTAGE_COMPRESS_FLAGS\fR = \fI"\-9"\fR
776 This variable contains flags for the \fBPORTAGE_COMPRESS\fR command.
777 .TP
778 .TP
779 \fBPORTAGE_COMPRESS_EXCLUDE_SUFFIXES\fR = \fI"gif htm[l]? jp[e]?g pdf png"\fR
780 This variable contains a space delimited list of file suffixes for which
781 matching files are excluded when the \fBPORTAGE_COMPRESS\fR command is
782 called. Regular expressions are supported and the match is performed only
783 against the portion of the file name which follows the last period character.
784 .TP
785 .B PORTAGE_ELOG_CLASSES
786 .TP
787 .B PORTAGE_ELOG_SYSTEM
788 .TP
789 .B PORTAGE_ELOG_COMMAND
790 .TP
791 .B PORTAGE_ELOG_MAILURI
792 .TP
793 .B PORTAGE_ELOG_MAILFROM
794 .TP
795 .B PORTAGE_ELOG_MAILSUBJECT
796 Please see /usr/share/portage/config/make.conf.example for elog documentation.
797 .TP
798 \fBPORTAGE_FETCH_CHECKSUM_TRY_MIRRORS\fR = \fI5\fR
799 Number of mirrors to try when a downloaded file has an incorrect checksum.
800 .TP
801 \fBPORTAGE_FETCH_RESUME_MIN_SIZE\fR = \fI350K\fR
802 Minimum size of existing file for \fBRESUMECOMMAND\fR to be called. Files
803 smaller than this size will be removed and \fBFETCHCOMMAND\fR will be called
804 to download the file from the beginning. This is useful for helping to ensure
805 that small garbage files such as html 404 pages are properly discarded. The
806 variable should contain an integer number of bytes and may have a suffix such
807 as K, M, or G.
808 .TP
809 .B PORTAGE_GPG_DIR
810 The \fBgpg\fR(1) home directory that is used by \fBrepoman\fR(1)
811 when \fBsign\fR is in \fBFEATURES\fR.
812 .br
813 Defaults to $HOME/.gnupg.
814 .TP
815 .B PORTAGE_GPG_KEY
816 The \fBgpg\fR(1) key used by \fBrepoman\fR(1) to sign manifests
817 when \fBsign\fR is in \fBFEATURES\fR. In order to sign commits with
818 \fBgit\fR(1), you will need Git >=1.7.9 and your commit key will have
819 to be configured by \fI`git config user.signingkey key_id`\fR.
820 .TP
821 .B PORTAGE_GPG_SIGNING_COMMAND
822 The command used by \fBrepoman\fR(1) to sign manifests when \fBsign\fR is
823 in \fBFEATURES\fR.
824 .TP
825 \fBPORTAGE_GRPNAME\fR = \fI[group]\fR
826 Defines the groupname to use when executing in userpriv/etc... modes (i.e.
827 non-root).
828 .br
829 Defaults to portage.
830 .TP
831 \fBPORTAGE_INST_GID\fR = \fI[gid]\fR
832 Defines the group id when installing files via dobin/dosbin.  Useful when
833 running ebuild as yourself.
834 .br
835 Defaults to 0.
836 .TP
837 \fBPORTAGE_INST_UID\fR = \fI[uid]\fR
838 Defines the user id when installing files via dobin/dosbin.  Useful when
839 running ebuild as yourself.
840 .br
841 Defaults to 0.
842 .TP
843 \fBPORTAGE_IONICE_COMMAND\fR = \fI[ionice command string]\fR
844 This variable should contain a command for portage to call in order
845 to adjust the io priority of portage and it's subprocesses. The command
846 string should contain a \\${PID} place-holder that will be substituted
847 with an integer pid. For example, a value of "ionice \-c 3 \-p \\${PID}"
848 will set idle io priority. For more information about ionice, see
849 \fBionice\fR(1). This variable is unset by default.
850 .TP
851 \fBPORTAGE_NICENESS\fR = \fI[number]\fR
852 The value of this variable will be added to the current nice level that
853 emerge is running at.  In other words, this will not set the nice level,
854 it will increment it.  For more information about nice levels and what
855 are acceptable ranges, see \fBnice\fR(1).
856 .TP
857 \fBPORTAGE_RO_DISTDIRS\fR = \fI[space delimited list of directories]\fR
858 When a given file does not exist in \fBDISTDIR\fR, search for the file
859 in this list of directories. Search order is from left to right. Note
860 that the current implementation works by creating a symlink inside
861 \fBDISTDIR\fR, but that may change in the future.
862 .TP
863 \fBPORTAGE_RSYNC_INITIAL_TIMEOUT\fR = \fIinteger\fR
864 Used by \fBemerge \-\-sync\fR as a timeout for the initial connection to an
865 rsync server.
866 .br
867 Defaults to 15 seconds.
868 .TP
869 \fBPORTAGE_RSYNC_EXTRA_OPTS\fR = \fI[rsync options string]\fR
870 Additional rsync options to be used by \fBemerge \-\-sync\fR.
871 .br
872 Defaults to no value.
873 .TP
874 \fBPORTAGE_RSYNC_OPTS\fR = \fI[rsync options string]\fR
875 Default rsync options to be used by \fBemerge \-\-sync\fR.
876 .br
877 \fBDon't change this unless you know exactly what you're doing!\fR
878 .br
879 Defaults to "\-\-recursive \-\-links \-\-safe\-links \-\-perms \-\-times
880 \-\-compress \-\-force \-\-whole\-file \-\-delete \-\-stats
881 \-\-timeout=180 \-\-exclude='/distfiles' \-\-exclude='/local'
882 \-\-exclude='/packages'"
883 .TP
884 \fBPORTAGE_RSYNC_RETRIES\fR = \fI[NUMBER]\fR
885 The number of times rsync should retry on failed connections before
886 giving up. If set to a negative number, then retry until all possible
887 addresses are exhausted.
888 .br
889 Defaults to -1.
890 .TP
891 \fBPORTAGE_SSH_OPTS\fR = \fI[list of ssh options]\fR
892 Additional ssh options to be used when portage executes ssh or sftp.
893 This variable supports use of embedded quote characters to quote
894 whitespace or special shell characters within arguments (embedded
895 quotes must be escaped in make.conf settings).
896 .br
897 Defaults to no value.
898 .TP
899 \fBPORTAGE_SYNC_STALE\fR = \fI[NUMBER]\fR
900 Defines the number of days after the last `emerge \-\-sync` that a warning
901 message should be produced. A value of 0 will disable warnings.
902 .br
903 Defaults to 30.
904 .TP
905 \fBPORTAGE_TMPDIR\fR = \fI[path]\fR
906 Defines the location of the temporary build directories.
907 .br
908 Defaults to /var/tmp.
909
910 This should not be set to point anywhere under location of any repository.
911 .TP
912 \fBPORTAGE_USERNAME\fR = \fI[user]\fR
913 Defines the username to use when executing in userpriv/etc... modes (i.e.
914 non-root).
915 .br
916 Defaults to portage.
917 .TP
918 \fBPORTAGE_WORKDIR_MODE\fR = \fI"0700"\fR
919 This variable controls permissions for \fIWORKDIR\fR (see \fBebuild\fR(5)).
920 .TP
921 \fBPORTAGE_XATTR_EXCLUDE\fR = \fI[space delimited list of fnmatch patterns]\fR
922 This variable may be used to exclude specific attributes from being preserved
923 when \fBxattr\fR is in \fBFEATURES\fR.
924 .br
925 Defaults to "security.*" (security labels are special, see bug #461868).
926 .TP
927 \fBPORTDIR\fR = \fI[path]\fR
928 Defines the location of main repository. This variable is deprecated in favor of
929 settings in \fBrepos.conf\fR. If you change this, you must update
930 your /etc/portage/make.profile symlink accordingly.
931 .br
932 Defaults to /usr/portage.
933 .br
934 \fB***Warning***\fR
935 .br
936 Data stored inside \fBPORTDIR\fR is in peril of being overwritten or deleted by
937 the emerge \-\-sync command. The default value of
938 \fBPORTAGE_RSYNC_OPTS\fR will protect the default locations of
939 \fBDISTDIR\fR and \fBPKGDIR\fR, but users are warned that any other locations
940 inside \fBPORTDIR\fR are not necessarily safe for data storage.  You should not
941 put other data (such as overlays) in your \fBPORTDIR\fB.  Portage will walk
942 directory structures and may arbitrarily add invalid categories as packages.
943 .TP
944 \fBPORTDIR_OVERLAY\fR = \fI"[path] [different\-path] [etc...]"\fR
945 Defines the locations of other repositories. This variable is deprecated in
946 favor of settings in \fBrepos.conf\fR. This variable is a space\-delimited list of
947 directories.
948 .br
949 Defaults to no value.
950 .TP
951 \fBQA_STRICT_EXECSTACK = \fI"set"\fR
952 Set this to cause portage to ignore any \fIQA_EXECSTACK\fR override
953 settings from ebuilds.  See also \fBebuild\fR(5).
954 .TP
955 \fBQA_STRICT_WX_LOAD = \fI"set"\fR
956 Set this to cause portage to ignore any \fIQA_WX_LOAD\fR override
957 settings from ebuilds.  See also \fBebuild\fR(5).
958 .TP
959 \fBQA_STRICT_TEXTRELS = \fI"set"\fR
960 Set this to cause portage to ignore any \fIQA_TEXTREL\fR override
961 settings from ebuilds.  See also \fBebuild\fR(5).
962 .TP
963 \fBQA_STRICT_FLAGS_IGNORED = \fI"set"\fR
964 Set this to cause portage to ignore any \fIQA_FLAGS_IGNORED\fR override
965 settings from ebuilds.  See also \fBebuild\fR(5).
966 .TP
967 \fBQA_STRICT_MULTILIB_PATHS = \fI"set"\fR
968 Set this to cause portage to ignore any \fIQA_MULTILIB_PATHS\fR override
969 settings from ebuilds.  See also \fBebuild\fR(5).
970 .TP
971 \fBQA_STRICT_PRESTRIPPED = \fI"set"\fR
972 Set this to cause portage to ignore any \fIQA_PRESTRIPPED\fR override
973 settings from ebuilds.  See also \fBebuild\fR(5).
974 .TP
975 .B RESUMECOMMAND
976 This variable contains the command used for resuming package sources that
977 have been partially downloaded.  It should be defined using the same format
978 as \fBFETCHCOMMAND\fR, and must include any additional option(s) that may
979 be necessary in order to continue a partially downloaded file located at
980 \\${DISTDIR}/\\${FILE}.
981 .TP
982 \fBROOT\fR = \fI[path]\fR
983 Use \fBROOT\fR to specify the target root filesystem to be used for merging
984 packages or ebuilds.
985 Typically, you should set this setting in the environment rather than in
986 \fImake.conf\fR itself. It's commonly used for creating new build
987 images. Make sure you use an absolute path. Refer to the
988 \fBCross-compilation\fR section of \fBebuild\fR(5) for information about
989 how dependencies are handled for \fBROOT\fR.
990 .br
991 Defaults to /.
992 .TP
993 \fBRPMDIR\fR = \fI[path]\fR
994 Defines the location where created RPM packages will be stored.
995 .br
996 Defaults to /usr/portage/rpm.
997 .TP
998 \fBSYNC\fR = \fI[RSYNC]\fR
999 Insert your preferred rsync mirror here.  This rsync server
1000 is used to sync the local portage tree when `emerge \-\-sync` is run.
1001
1002 Note that the \fBSYNC\fR variable is now deprecated, and instead the
1003 sync\-type and sync\-uri attributes in repos.conf should be used. See
1004 \fBportage\fR(5) for more information.
1005
1006 Defaults to rsync://rsync.gentoo.org/gentoo\-portage
1007 .RS
1008 .TP
1009 .B Usage:
1010 (rsync|ssh)://[username@]hostname[:port]/(module|path)
1011 .TP
1012 .B Examples:
1013 rsync://private\-mirror.com/portage\-module
1014 .br
1015 rsync://rsync\-user@private\-mirror.com:873/gentoo\-portage
1016 .br
1017 ssh://ssh\-user@192.168.0.1:22/usr/portage
1018 .br
1019 ssh://ssh\-user@192.168.0.1:22/\\${HOME}/portage\-storage
1020 .TP
1021 Note: For the ssh:// scheme, key\-based authentication might be of interest.
1022 .RE
1023 .TP
1024 \fBUNINSTALL_IGNORE\fR = \fI[space delimited list of fnmatch patterns]\fR
1025 This variable prevents uninstallation of files that match
1026 specific \fBfnmatch\fR(3) patterns. In order to ignore file
1027 collisions with these files at install time, the same patterns
1028 can be added to the \fBCOLLISION_IGNORE\fR variable.
1029 .br
1030 Defaults to "/lib/modules/*".
1031 .TP
1032 \fBUSE\fR = \fI[space delimited list of USE items]\fR
1033 This variable contains options that control the build behavior of several
1034 packages.  More information in \fBebuild\fR(5).  Possible USE values
1035 can be found in \fI/usr/portage/profiles/use.desc\fR.
1036 .TP
1037 \fBUSE_ORDER\fR = \fI"env:pkg:conf:defaults:pkginternal:repo:env.d"\fR
1038 Determines the precedence of layers in the incremental stacking of the USE
1039 variable. Precedence decreases from left to right such that env overrides
1040 pkg, pkg overrides conf, and so forth.
1041
1042 .B ***warning***
1043 .br
1044 Do not modify this value unless you're a developer and you know what
1045 you're doing. If you change this and something breaks, we will not help
1046 you fix it.
1047 .br
1048 .RS
1049 .TP
1050 .B env
1051 USE from the current environment variables (USE and those listed in USE_EXPAND)
1052 .TP
1053 .B pkg
1054 Per\-package USE from \fB/etc/portage/package.use\fR (see \fBportage\fR(5))
1055 .TP
1056 .B conf
1057 USE from make.conf
1058 .TP
1059 .B defaults
1060 USE from make.defaults and package.use in the profile
1061 (e.g. /etc/portage/make.profile/package.use) (see \fBportage\fR(5))
1062 .TP
1063 .B pkginternal
1064 USE from \fBebuild\fR(5) IUSE defaults
1065 .TP
1066 .B repo
1067 USE from make.defaults and package.use in the repo's profiles/ top dir
1068 (e.g. /usr/portage/profiles/package.use) (see \fBportage\fR(5))
1069 .TP
1070 .B env.d
1071 USE from the environment variables, such as LINGUAS, defined by files in
1072 \fI/etc/env.d/\fR
1073 .RE
1074
1075 .SH "REPORTING BUGS"
1076 Please report bugs via http://bugs.gentoo.org/
1077 .SH "AUTHORS"
1078 .nf
1079 Daniel Robbins <drobbins@gentoo.org>
1080 Nicholas Jones <carpaski@gentoo.org>
1081 Mike Frysinger <vapier@gentoo.org>
1082 Saleem Abdulrasool <compnerd@gentoo.org>
1083 Arfrever Frehtes Taifersar Arahesis <arfrever@apache.org>
1084 .fi
1085 .SH "FILES"
1086 .TP
1087 \fB/etc/make.conf\fR and \fB/etc/portage/make.conf\fR
1088 Contains variables for the build\-process and overwrites those in
1089 make.defaults.
1090 .TP
1091 .B /usr/share/portage/config/make.globals
1092 Contains the default variables for the build\-process, you should edit
1093 \fI/etc/portage/make.conf\fR instead.
1094 .TP
1095 .B /etc/portage/color.map
1096 Contains variables customizing colors.
1097 .TP
1098 .B /usr/portage/profiles/use.desc
1099 Contains a list of all global USE flags.
1100 .TP
1101 .B /usr/portage/profiles/use.local.desc
1102 Contains a list of all local USE variables.
1103 .SH "SEE ALSO"
1104 .BR emerge (1),
1105 .BR portage (5),
1106 .BR ebuild (1),
1107 .BR ebuild (5)
1108 .TP
1109 The \fI/usr/lib/portage/bin/ebuild.sh\fR script.
1110 .TP
1111 The helper apps in \fI/usr/lib/portage/bin\fR.