vp-build/templates/iputils/patches/fix_install.diff
Juan RP 85a7ceb76f Move all patches to templates/$pkgname/patches.
There's no need to set patch_files/patch_args anymore, all patches
in this directory will be applied with -Np0 and they have .diff
or .patch (and .gz/.bz2) extension.

--HG--
extra : convert_revision : 8d516c033fe34db94ebbcc84c246e84fc96ed901
2009-10-15 16:07:47 +02:00

18 lines
452 B
Diff

--- Makefile.orig 2009-03-06 09:03:41.189028082 +0100
+++ Makefile 2009-03-06 09:08:37.087015943 +0100
@@ -25,6 +25,14 @@ TAG:=`date +s%Y%m%d`
all: $(TARGETS)
+install:
+ for f in $(TARGETS); do \
+ if [ "$$f" = "ping" -o "$$f" = "ping6" ]; then \
+ install -D -m4755 $$f $(DESTDIR)/sbin/$$f; \
+ else \
+ install -D -m755 $$f $(DESTDIR)/sbin/$$f; \
+ fi; \
+ done
tftpd: tftpd.o tftpsubs.o
ping: ping.o ping_common.o