Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage3 / pkg / SGMLSpm
index d03e850..49c9a3c 100644 (file)
@@ -2,9 +2,8 @@
 
 hvconfig_pre()
 {
-    cd ${LFS_TMP}/${PACKAGE}
     sed -i -e "s@/usr/local/bin@/usr/bin@" \
         -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/$(get_pkg_ver ${PERL})@" \
         -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
-        Makefile
+        ${SRC_DIR}/Makefile
 }