source: chapter05/patch.xml@ 0e5c784

Last change on this file since 0e5c784 was 7b82580, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Indenting chapter 05, part 4.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7290 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[673b0d8]1<?xml version="1.0" encoding="ISO-8859-1"?>
[7b82580]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[673b0d8]4 <!ENTITY % general-entities SYSTEM "../general.ent">
5 %general-entities;
6]>
[7b82580]7
[9652249]8<sect1 id="ch-tools-patch" role="wrap">
[7b82580]9 <?dbhtml filename="patch.html"?>
10
11 <title>Patch-&patch-version;</title>
12
13 <indexterm zone="ch-tools-patch">
14 <primary sortas="a-Patch">Patch</primary>
15 <secondary>tools</secondary>
16 </indexterm>
17
18 <sect2 role="package">
19 <title/>
[a3f60e1e]20
[7b82580]21 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
22 href="../chapter06/patch.xml"
23 xpointer="xpointer(/sect1/sect2[1]/para[1])"/>
[81fd230]24
[7b82580]25 <segmentedlist>
26 <segtitle>&buildtime;</segtitle>
27 <segtitle>&diskspace;</segtitle>
[673b0d8]28
[7b82580]29 <seglistitem>
30 <seg>0.1 SBU</seg>
31 <seg>1.5 MB</seg>
32 </seglistitem>
33 </segmentedlist>
[673b0d8]34
[7b82580]35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36 href="../chapter06/patch.xml"
37 xpointer="xpointer(/sect1/sect2[1]/segmentedlist[2])"/>
[81fd230]38
[7b82580]39 </sect2>
[73aedd1d]40
[7b82580]41 <sect2 role="installation">
42 <title>Installation of Patch</title>
[73aedd1d]43
[7b82580]44 <para>Prepare Patch for compilation:</para>
[73aedd1d]45
46<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/tools</userinput></screen>
47
[7b82580]48 <para>The preprocessor flag <parameter>-D_GNU_SOURCE</parameter> is
49 only needed on the PowerPC platform. It can be left out on other
50 architectures.</para>
[81fd230]51
[7b82580]52 <para>Compile the package:</para>
[73aedd1d]53
[b3adaba]54<screen><userinput>make</userinput></screen>
[73aedd1d]55
[7b82580]56 <para>This package does not come with a test suite.</para>
[81fd230]57
[7b82580]58 <para>Install the package:</para>
[73aedd1d]59
60<screen><userinput>make install</userinput></screen>
61
[7b82580]62 </sect2>
[a3f60e1e]63
[7b82580]64 <sect2 role="content">
65 <title/>
[81fd230]66
[7b82580]67 <para>Details on this package are located in
68 <xref linkend="contents-patch" role="."/></para>
69
70 </sect2>
[81fd230]71
[7b82580]72</sect1>
Note: See TracBrowser for help on using the repository browser.