aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/patch-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/patch-inst.xml')
-rw-r--r--chapter05/patch-inst.xml25
1 files changed, 21 insertions, 4 deletions
diff --git a/chapter05/patch-inst.xml b/chapter05/patch-inst.xml
index 9142a23bf..9f9467b2b 100644
--- a/chapter05/patch-inst.xml
+++ b/chapter05/patch-inst.xml
@@ -1,12 +1,29 @@
+<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
+
<sect2>
<title>Installation of Patch</title>
-<para>Install Patch by running the following commands:</para>
+<para>Prepare Patch to be compiled:</para>
<para><screen><userinput>CPPFLAGS=-D_GNU_SOURCE \
-&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static &amp;&amp;
-make &amp;&amp;
-make install</userinput></screen></para>
+&nbsp;&nbsp;&nbsp;&nbsp;LDFLAGS="-static" ./configure --prefix=$LFS/static</userinput></screen></para>
+
+<para>The meaning of the configure option is:</para>
+
+<itemizedlist>
+<listitem><para><userinput>CPPFLAGS=-D_GNU_SOURCE:</userinput> This flag
+fixes installation problems of this package on PPC and m68k platforms (that
+we know of). It doesn't hurt compilation on other platforms, such as x86,
+so we do it by default.</para></listitem>
+</itemizedlist>
+
+<para>Continue with compiling the package:</para>
+
+<para><screen><userinput>make</userinput></screen></para>
+
+<para>And finish off installing the package:</para>
+
+<para><screen><userinput>make install</userinput></screen></para>
</sect2>