]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
Fixed instructions of iproute2.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Oct 2008 13:47:35 +0000 (13:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 11 Oct 2008 13:47:35 +0000 (13:47 +0000)
lfs/iproute2

index 24ab8b888b093ad5229c9a0a27c072dee893cee5..3c57f2d226aecdfe93d3a049e5d5dd1766bda47a 100644 (file)
@@ -53,8 +53,10 @@ $(objects) :
 $(TARGET) : 
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS) SBINDIR=/sbin
-       cd $(DIR_APP) && make SBINDIR=/sbin install
+       cd $(DIR_APP) && sed -i -e "s@DESTDIR=.*@DESTDIR=@" \
+                                                       -e "s@/share/@/usr/share/@g" Makefile
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+       cd $(DIR_APP) && make install
        cd $(DIR_APP) && mv -v /sbin/arpd /usr/sbin
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)