Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage2 / pkg / iproute2
index 7c937b3..173e5d8 100644 (file)
@@ -5,13 +5,11 @@ hvconfig_pre()
     # The arpd binary included in this package is dependent on Berkeley DB.
     # Because arpd is not a very common requirement on a base Linux system,
     # remove the dependency on Berkeley DB by applying the sed command below
-    sed -i '/^TARGETS/s@arpd@@g' ${LFS_TMP}/${PACKAGE}/misc/Makefile
+    sed -i '/^TARGETS/s@arpd@@g' ${SRC_DIR}/misc/Makefile
 }
 
 hvbuild()
 {
-    cd ${LFS_TMP}/${PACKAGE}
-
     # DESTDIR=
     # This ensures that the IPRoute2 binaries will install into the correct
     # directory. By default, DESTDIR is set to /usr.