[Clfs-commits] commit: r4926 - in /branches/clfs-sysroot/BOOK/final-system: arm/perl.xml common/coreutils.xml

svn at cross-lfs.org svn at cross-lfs.org
Sat Apr 11 10:47:58 PDT 2009


Author: jciccone
Date: Sat Apr 11 17:47:57 2009
New Revision: 4926

Log:
Update coreutils man page regeneration problem.
change the permissions on Makefile.SH in perl so that the sed correctly applies.

Modified:
    branches/clfs-sysroot/BOOK/final-system/arm/perl.xml
    branches/clfs-sysroot/BOOK/final-system/common/coreutils.xml

Modified: branches/clfs-sysroot/BOOK/final-system/arm/perl.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/arm/perl.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/arm/perl.xml Sat Apr 11 17:47:57 2009
@@ -39,7 +39,8 @@
     to be built with -fPIC so it can be linked into a shared library
     later:</para>
 
-<screen os="s2"><userinput>cp -v Makefile.SH{,.orig}
+<screen os="s2"><userinput>chmod -v 644 Makefile.SH
+cp -v Makefile.SH{,.orig}
 sed -e "s at pldlflags=''@pldlflags=\"\$cccdlflags\"@g" \
     -e "s at static_target='static'@static_target='static_pic'@g" Makefile.SH.orig > Makefile.SH</userinput></screen>
 

Modified: branches/clfs-sysroot/BOOK/final-system/common/coreutils.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/coreutils.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/coreutils.xml Sat Apr 11 17:47:57 2009
@@ -32,15 +32,11 @@
 
 <screen os="p2"><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
 
-    <para os="aa">The above patch modifies the source code for
-    <command>uname</command>. Because it now has a newer timestamp then
-    its man page, the <filename>Makefile</filename> is going to
-    try to regenerate the man page. If executables for the target architecture
-    can not be executed by the host system, the build will fail. The following
-    command fixes this by giving the man page a newer timestamp then its
-    corresponding source file:</para>
-
-<screen os="ab"><userinput>touch man/uname.1</userinput></screen>
+    <para os="aa">The following command updates the timestamps on the uname
+    and hostname man pages so that the Makefile does not attempt to regenerate
+    them:</para>
+
+<screen os="ab"><userinput>touch man/uname.1 man/hostname.1</userinput></screen>
 
     <para os="s1">Coreutils attempts to use the <command>install</command>
     program it just built to perform the install. This will not work if the




More information about the Clfs-commits mailing list