I patched the jhalfs. Maybe I should patch the lfs book instead.

BTW: Is there any tools for editing the lfs book in a easier way,
other than vim.

diff -Naur jhalfs.orig/LFS/master.sh jhalfs/LFS/master.sh
--- jhalfs.orig/LFS/master.sh
+++ jhalfs/LFS/master.sh
@@ -100,7 +100,7 @@

     # Grab the name of the target (minus the -pass1 or -pass2 in the
case of gcc
     # and binutils in chapter 5)
-    name=`echo ${this_script} | sed -e 's...@[0-9]\{3\}-@@' -e
's...@-pass[0-9]\{1\}@@'`
+    name=`echo ${this_script} | sed -e 's...@[0-9]\{3\}-@@' -e
's...@-pass[0-9]\{1\}@@' -e 's...@-utils@@'`

     # Set the dependency for the first target.
     if [ -z $PREV ] ; then PREV=022-settingenvironment ; fi
@@ -195,7 +195,7 @@
     esac

     # Grab the name of the target.
-    name=`echo ${this_script} | sed -e 's...@[0-9]\{3\}-@@' -e 's,'$N',,'`
+    name=`echo ${this_script} | sed -e 's...@[0-9]\{3\}-@@' -e
's,'$N',,' -e 's...@-utils@@'`

     # Find the version of the command files, if it corresponds with
the building of
     # a specific package. We need this here to can skip scripts not needed for

Attachment: jhalfs-xz-fix.patch
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to