source: BOOK/temp-system/common/patch.xml@ 986e525d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 986e525d was 1f9cde4, checked in by Jim Gifford <clfs@…>, 18 years ago

Added Patch DESTDIR Patch

  • Property mode set to 100644
File size: 1.4 KB
RevLine 
[3f8be484]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
[d0c5f50]18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/patch.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Patch</title>
24
[1f9cde4]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
[1bc8e5f]29 <para os="a">Prepare Patch for compilation:</para>
[3f8be484]30
[528da83]31<screen os="b"><userinput>./configure --prefix=/tools \
[07114c98]32 --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
[3f8be484]33
[1bc8e5f]34 <para os="c">Compile the package:</para>
[3f8be484]35
[1bc8e5f]36<screen os="d"><userinput>make</userinput></screen>
[3f8be484]37
[1bc8e5f]38 <para os="e">Install the package:</para>
[3f8be484]39
[1f9cde4]40<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
[3f8be484]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.