Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage2 / pkg / perl
index b4530e2..d1f11cf 100644 (file)
@@ -8,7 +8,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 \
@@ -22,6 +22,6 @@ hvconfig_pre()
 
 hvconfig()
 {
-    cd ${LFS_TMP}/${PACKAGE}
+    cd ${SRC_DIR}
     ./configure.gnu ${CONFIGURE_OPTS}
 }