clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change
on this file since 1f9cde4 was
1f9cde4,
checked in by Jim Gifford <clfs@…>, 17 years ago
|
Added Patch DESTDIR Patch
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" |
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ |
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent"> |
---|
5 | %general-entities; |
---|
6 | ]> |
---|
7 | |
---|
8 | <sect1 id="ch-temp-system-patch" role="wrap"> |
---|
9 | <?dbhtml filename="patch.html"?> |
---|
10 | |
---|
11 | <title>Patch-&patch-version;</title> |
---|
12 | |
---|
13 | <indexterm zone="ch-temp-system-patch"> |
---|
14 | <primary sortas="a-Patch">Patch</primary> |
---|
15 | <secondary>temporary system</secondary> |
---|
16 | </indexterm> |
---|
17 | |
---|
18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" |
---|
19 | href="../../final-system/common/patch.xml" |
---|
20 | xpointer="xpointer(//*[@role='package'])"/> |
---|
21 | |
---|
22 | <sect2 role="installation"> |
---|
23 | <title>Installation of Patch</title> |
---|
24 | |
---|
25 | <para os="p1">This patch will add the ability to use DESTDIR:</para> |
---|
26 | |
---|
27 | <screen os="p2"><userinput>patch -Np1 -i ../&patch-destdir-patch;</userinput></screen> |
---|
28 | |
---|
29 | <para os="a">Prepare Patch for compilation:</para> |
---|
30 | |
---|
31 | <screen os="b"><userinput>./configure --prefix=/tools \ |
---|
32 | --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen> |
---|
33 | |
---|
34 | <para os="c">Compile the package:</para> |
---|
35 | |
---|
36 | <screen os="d"><userinput>make</userinput></screen> |
---|
37 | |
---|
38 | <para os="e">Install the package:</para> |
---|
39 | |
---|
40 | <screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen> |
---|
41 | |
---|
42 | </sect2> |
---|
43 | |
---|
44 | <sect2 role="content"> |
---|
45 | <title/> |
---|
46 | |
---|
47 | <para>Details on this package are located in <xref |
---|
48 | linkend="contents-patch" role="."/></para> |
---|
49 | |
---|
50 | </sect2> |
---|
51 | |
---|
52 | </sect1> |
---|
Note: See
TracBrowser
for help on using the repository browser.