mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-21 06:28:02 +00:00
c3dc67cdcf
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3251 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
39 lines
908 B
XML
39 lines
908 B
XML
<sect1 id="ch-system-patch" xreflabel="Patch">
|
|
<title>Installing Patch-&patch-version;</title>
|
|
<?dbhtml filename="patch.html" dir="chapter06"?>
|
|
|
|
<para>The Patch package contains a program for modifying files.</para>
|
|
|
|
<screen>&buildtime; &patch-time;
|
|
&diskspace; &patch-compsize;</screen>
|
|
|
|
&aa-patch-down;
|
|
&aa-patch-dep;
|
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of Patch</title>
|
|
|
|
<para>Prepare Patch for compilation (the preprocessor flag
|
|
<emphasis>-D_GNU_SOURCE</emphasis> is only needed on PowerPCs, on other
|
|
machines you can leave it out):</para>
|
|
|
|
<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
<screen><userinput>make</userinput></screen>
|
|
|
|
<para>And install it:</para>
|
|
|
|
<screen><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
&aa-patch-shortdesc;
|
|
&aa-patch-desc;
|
|
|
|
</sect1>
|
|
|