X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fiproute2;h=173e5d80d5a2cb1d2ed6dd0cac59ee35b9d28395;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=461289b02fef42b1027f65a011bf20fa80c5dffc;hpb=1eb363044c6ee3115e62736aed4403b750082b44;p=hvlinux.git diff --git a/stage2/pkg/iproute2 b/stage2/pkg/iproute2 index 461289b..173e5d8 100644 --- a/stage2/pkg/iproute2 +++ b/stage2/pkg/iproute2 @@ -5,15 +5,17 @@ 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. make DESTDIR= - make DESTDIR= SBINDIR=/sbin DOCDIR=/usr/share/doc/iproute2 MANDIR=/usr/share/man install + make DESTDIR= SBINDIR=/sbin DOCDIR=/usr/share/doc/iproute2 \ + MANDIR=/usr/share/man install } hvbuild_post() @@ -22,6 +24,4 @@ hvbuild_post() unset SBINDIR unset DOCDIR unset MANDIR - - cd bozo }