فهرست منبع

Update to Make-4.0. Fixes #3410.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10359 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 11 سال پیش
والد
کامیت
05e908edf8
9فایلهای تغییر یافته به همراه30 افزوده شده و 22 حذف شده
  1. 4 0
      chapter01/changelog.xml
  2. 2 2
      chapter01/whatsnew.xml
  3. 0 8
      chapter03/patches.xml
  4. 4 0
      chapter05/glibc.xml
  5. 14 1
      chapter05/make.xml
  6. 3 0
      chapter06/glibc.xml
  7. 0 4
      chapter06/make.xml
  8. 3 3
      packages.ent
  9. 0 4
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -38,6 +38,10 @@
     <listitem>
       <para>2013-10-14</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Update to Make 4.0. Fixes
+          <ulink url="&lfs-ticket-root;3410">#3410</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Update to Tar 1.27. Fixes
           <ulink url="&lfs-ticket-root;3409">#3409</ulink>.</para>

+ 2 - 2
chapter01/whatsnew.xml

@@ -136,9 +136,9 @@
     <listitem>
       <para>M4 &m4-version;</para>
     </listitem>
-    <!--<listitem>
+    <listitem>
       <para>Make &make-version;</para>
-    </listitem>-->
+    </listitem>
     <!--<listitem>
       <para>Man-DB &man-db-version;</para>
     </listitem>-->

+ 0 - 8
chapter03/patches.xml

@@ -58,14 +58,6 @@
       </listitem>
     </varlistentry>
 
-    <varlistentry>
-      <term>Make Upstream Fixes Patch - <token>&make-fixes-patch-size;</token>:</term>
-      <listitem>
-        <para>Download: <ulink url="&patches-root;&make-fixes-patch;"/></para>
-        <para>MD5 sum: <literal>&make-fixes-patch-md5;</literal></para>
-      </listitem>
-    </varlistentry>
-
     <varlistentry>
       <term>Perl Libc Patch - <token>&perl-libc-patch-size;</token>:</term>
       <listitem>

+ 4 - 0
chapter05/glibc.xml

@@ -56,6 +56,10 @@ fi</userinput></screen>
 
 <screen><userinput remap="pre">sed -i -e 's/static __m128i/inline &amp;/' sysdeps/x86_64/multiarch/strstr.c</userinput></screen>
 
+    <para>Allow Glibc to be built using Make-&make-version;:</para>
+
+<screen><userinput remap="pre">sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>
+
     <para>The Glibc documentation recommends building Glibc outside of the source
     directory in a dedicated build directory:</para>
 

+ 14 - 1
chapter05/make.xml

@@ -44,7 +44,20 @@
 
     <para>Prepare Make for compilation:</para>
 
-<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/tools --without-guile</userinput></screen>
+
+    <variablelist>
+      <title>The meaning of the configure option:</title>
+
+      <varlistentry>
+        <term><parameter>--without-guile</parameter></term>
+        <listitem>
+          <para>This ensures that Make-&make-version; won't link against Guile libraries, which
+          may be present on the host system, but won't be available within the
+          <command>chroot</command> environment in the next chapter.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
 
     <para>Compile the package:</para>
 

+ 3 - 0
chapter06/glibc.xml

@@ -65,6 +65,9 @@
 
 <screen><userinput remap="pre">sed -i -e 's/static __m128i/inline &amp;/' sysdeps/x86_64/multiarch/strstr.c</userinput></screen>
 
+    <para>Allow Glibc to be built with Make-&make-version;:</para>
+
+<screen><userinput remap="pre">sed -r -i 's/(3..89..)/\1 | 4.*/' configure</userinput></screen>
 
     <para>The Glibc documentation recommends building Glibc outside of the source
     directory in a dedicated build directory:</para>

+ 0 - 4
chapter06/make.xml

@@ -40,10 +40,6 @@
   <sect2 role="installation">
     <title>Installation of Make</title>
 
-    <para>First apply some upstream patches:</para>
-
-<screen><userinput remap="configure">patch -Np1 -i ../&make-fixes-patch;</userinput></screen>
-
     <para>Prepare Make for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>

+ 3 - 3
packages.ent

@@ -367,10 +367,10 @@
 <!ENTITY m4-ch6-du "30 MB">
 <!ENTITY m4-ch6-sbu "0.4 SBU">
 
-<!ENTITY make-version "3.82">
-<!ENTITY make-size "1,213 KB">
+<!ENTITY make-version "4.0">
+<!ENTITY make-size "1,311 KB">
 <!ENTITY make-url "&gnu;make/make-&make-version;.tar.bz2">
-<!ENTITY make-md5 "1a11100f3c63fcf5753818e59d63088f">
+<!ENTITY make-md5 "571d470a7647b455e3af3f92d79f1c18">
 <!ENTITY make-home "&gnu-software;make/">
 <!ENTITY make-ch5-du "11.2 MB">
 <!ENTITY make-ch5-sbu "0.1 SBU">

+ 0 - 4
patches.ent

@@ -22,10 +22,6 @@
 <!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">
 <!ENTITY kbd-backspace-patch-size "12 KB">
 
-<!ENTITY make-fixes-patch "make-&make-version;-upstream_fixes-3.patch">
-<!ENTITY make-fixes-patch-md5 "95027ab5b53d01699845d9b7e1dc878d">
-<!ENTITY make-fixes-patch-size "10 KB">
-
 <!ENTITY perl-libc-patch "perl-&perl-version;-libc-1.patch">
 <!ENTITY perl-libc-patch-md5 "daf5c64fd7311e924966842680535f8f">
 <!ENTITY perl-libc-patch-size "1.6 KB">