/[gentoo]/xml/htdocs/doc/en/handbook/hb-portage-advanced.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-portage-advanced.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-portage-advanced.xml,v 1.2 2012/02/07 19:17:58 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-portage-advanced.xml,v 1.3 2012/07/24 12:12:52 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12As times goes by, Portage evolves and matures further and further. Additional 12As times goes by, Portage evolves and matures further and further. Additional
13features are continuously being put in - many of these are only of use by more 13features are continuously being put in - many of these are only of use by more
14advanced users. This chapter will go into more detail of these specific 14advanced users. This chapter will go into more detail of these specific
15features. 15features.
16</abstract> 16</abstract>
17 17
18<version>2</version> 18<version>3</version>
19<date>2012-02-07</date> 19<date>2012-07-24</date>
20 20
21<section> 21<section>
22<title>Introduction</title> 22<title>Introduction</title>
23<body> 23<body>
24 24
62<title>Using /etc/portage/env</title> 62<title>Using /etc/portage/env</title>
63<body> 63<body>
64 64
65<p> 65<p>
66By default, package builds will use the environment variables defined in 66By default, package builds will use the environment variables defined in
67<path>/etc/make.conf</path>, such as <c>CFLAGS</c>, <c>MAKEOPTS</c> and more. In 67<path>/etc/portage/make.conf</path>, such as <c>CFLAGS</c>, <c>MAKEOPTS</c>
68some cases though, you might want to provide different variables for specific 68and more. In some cases though, you might want to provide different variables
69packages. To do so, Portage supports the use of <path>/etc/portage/env</path> 69for specific packages. To do so, Portage supports the use of
70and <path>/etc/portage/package.env</path>. 70<path>/etc/portage/env</path> and <path>/etc/portage/package.env</path>.
71</p> 71</p>
72 72
73<p> 73<p>
74The <path>/etc/portage/package.env</path> file contains the list of packages for 74The <path>/etc/portage/package.env</path> file contains the list of packages for
75which you want deviating variables as well as a specific identifier that tells 75which you want deviating variables as well as a specific identifier that tells
222<title>The /etc/portage/profile location</title> 222<title>The /etc/portage/profile location</title>
223<body> 223<body>
224 224
225<p> 225<p>
226By default, Gentoo uses the settings contained in the profile pointed to by 226By default, Gentoo uses the settings contained in the profile pointed to by
227<path>/etc/make.profile</path> (a symbolic link to the right profile directory). 227<path>/etc/portage/make.profile</path> (a symbolic link to the right profile
228These profiles define both specific settings as well as inherit settings from 228directory). These profiles define both specific settings as well as inherit
229other profiles (through their <path>parent</path> file). 229settings from other profiles (through their <path>parent</path> file).
230</p> 230</p>
231 231
232<p> 232<p>
233By using <path>/etc/portage/profile</path>, you can override profile settings 233By using <path>/etc/portage/profile</path>, you can override profile settings
234such as <path>packages</path> (what packages are considered to be part of the 234such as <path>packages</path> (what packages are considered to be part of the

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20