Reintroduce temporary perl at beginning of stage2
[hvlinux.git] / stage2 / pkg / perl
index 69cf777..85d79f5 100644 (file)
@@ -17,7 +17,7 @@ hvconfig_pre()
         sed -e '/^BUILD_ZLIB/s/True/False/' \
             -e '/^INCLUDE/s,\./zlib-src,/usr/include,' \
             -e '/^LIB/s,\./zlib-src,/usr/lib,' \
-            -i ${LFS_TMP}/${PACKAGE}/cpan/Compress-Raw-Zlib/config.in
+            -i ${SRC_DIR}/cpan/Compress-Raw-Zlib/config.in
 
         CONFIGURE_OPTS="\
             --prefix=/usr \
@@ -32,7 +32,7 @@ hvconfig_pre()
 
 hvconfig()
 {
-    cd ${LFS_TMP}/${PACKAGE}
+    cd ${SRC_DIR}
     ./configure.gnu ${CONFIGURE_OPTS}
 }