void-packages/srcpkgs/iputils/patches/fix_install.diff

19 lines
466 B
Diff
Raw Normal View History

2011-02-01 01:05:09 +00:00
--- a/Makefile.orig 2010-10-06 13:59:20.000000000 +0200
+++ b/Makefile 2011-02-01 01:58:43.338899085 +0100
@@ -25,6 +25,15 @@ 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; \
2011-02-01 01:05:09 +00:00
+ \
+ done
tftpd: tftpd.o tftpsubs.o
2011-02-01 01:05:09 +00:00
arping: arping.o -lsysfs