Remove temporary installation of Perl at beginning of stage2
[hvlinux.git] / stage2 / pkg / eglibc
index 6a3b0b3..0d07767 100644 (file)
@@ -2,8 +2,7 @@
 
 hvconfig_pre()
 {
-    CONFIGURE_OPTS="\
-        ${CONFIGURE_OPTS} \
+    CONFIGURE_OPTS+=" \
         --disable-profile \
         --enable-add-ons \
         --enable-kernel=$(get_pkg_ver ${KERNEL}) \
@@ -24,7 +23,7 @@ hvconfig_pre()
     # Glibc we have just installed with:
     LINKER=$(readelf -l $(file /tools/lib/libc-* | cut -f1 -d:) | sed -n 's@.*interpret.*/tools\(.*\)]$@\1@p')
     sed -i "s|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=${LINKER} -o|" \
-        scripts/test-installation.pl
+               scripts/test-installation.pl
     unset LINKER
 
     cd ${LFS_TMP}/${PACKAGE}-build
@@ -33,7 +32,7 @@ hvconfig_pre()
         "x86_64")
             # Tell EGLIBC to install its libraries into /lib:
             echo "slibdir=/lib" >> configparms
-            CONFIGURE_OPTS="${CONFIGURE_OPTS} --libdir=/usr/lib"
+            CONFIGURE_OPTS+=" --libdir=/usr/lib"
            ;;
     esac
 }