aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/perl.xml
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-09-15 20:45:13 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-09-15 20:45:13 +0000
commitb0a4c9a47dadc3ab2c37a034866cb542f3fffa0b (patch)
treefb6d77a8ace59cc4de2eec8cfb96a5cd29983fa1 /chapter05/perl.xml
parent232aa7359d4f119b062bf270e19e8a4c1d2228a0 (diff)
Upgrade to GCC-4.2.1. Fixes #2002. Merged from jh branch, thanks to Matthew Burgess for preparing a discrete patch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8374 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/perl.xml')
-rw-r--r--chapter05/perl.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter05/perl.xml b/chapter05/perl.xml
index 6e9a87b76..0885cbbec 100644
--- a/chapter05/perl.xml
+++ b/chapter05/perl.xml
@@ -48,6 +48,11 @@
<screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
+ <para>Fix an incompatibility with gcc-&gcc-version;:</para>
+
+<screen><userinput>mv -v makedepend.SH{,.orig}
+sed 's/command /command[ -]/' makedepend.SH.orig &gt; makedepend.SH</userinput></screen>
+
<para>Prepare Perl for compilation (make sure to get the
'Data/Dumper Fcntl IO POSIX' part of the command correct&mdash;they are all
letters):</para>