1 |
grobian 09/03/23 19:58:26 |
2 |
|
3 |
Modified: techdocs.xml |
4 |
Log: |
5 |
make note about eprefix.eclass and its most important function eprefixify |
6 |
|
7 |
Revision Changes Path |
8 |
1.12 xml/htdocs/proj/en/gentoo-alt/prefix/techdocs.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/techdocs.xml?rev=1.12&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/techdocs.xml?rev=1.12&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/techdocs.xml?r1=1.11&r2=1.12 |
13 |
|
14 |
Index: techdocs.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/techdocs.xml,v |
17 |
retrieving revision 1.11 |
18 |
retrieving revision 1.12 |
19 |
diff -u -r1.11 -r1.12 |
20 |
--- techdocs.xml 31 Oct 2008 14:49:30 -0000 1.11 |
21 |
+++ techdocs.xml 23 Mar 2009 19:58:26 -0000 1.12 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/techdocs.xml,v 1.11 2008/10/31 14:49:30 darkside Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/techdocs.xml,v 1.12 2009/03/23 19:58:26 grobian Exp $ --> |
27 |
|
28 |
<guide link="/proj/en/gentoo-alt/prefix/techdocs.xml" lang="en"> |
29 |
<title>Gentoo Prefix Techdocs</title> |
30 |
@@ -18,8 +18,8 @@ |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
<license/> |
33 |
|
34 |
- <version>1.21</version> |
35 |
- <date>2008-10-31</date> |
36 |
+ <version>1.22</version> |
37 |
+ <date>2009-03-23</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Changes to Portage</title> |
41 |
@@ -275,6 +275,20 @@ |
42 |
</body> |
43 |
</section><!-- }}} --> |
44 |
|
45 |
+ <section><!-- {{{ prefix.eclass --> |
46 |
+ <title>prefix.eclass</title> |
47 |
+ <body> |
48 |
+ <p> |
49 |
+ In some cases, the offset prefix needs to be hardcoded into |
50 |
+ files. Examples are shebangs with arguments or references to |
51 |
+ config files. The <c>prefix.eclass</c> provides the function |
52 |
+ <c>eprefixify</c>, which replaces each occurrence of |
53 |
+ <c>@GENTOO_PORTAGE_EPREFIX@</c> with the offset prefix as |
54 |
+ known by Portage. To use the eprefixify function on files |
55 |
+ (e.g. after patching), one needs to inherit the prefix eclass. |
56 |
+ </p> |
57 |
+ </body> |
58 |
+ </section><!-- }}} --> |
59 |
</chapter> |
60 |
|
61 |
<chapter> |