summaryrefslogtreecommitdiff
path: root/net-analyzer/trafshow/files/trafshow-5.2.3-gentoo.patch
blob: 95d342a603a42fb168ca2cf6969578b3ec8c9ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/Makefile.in
+++ b/Makefile.in
@@ -73,9 +73,9 @@
 	@echo 'char compiled[] = "$(CC) $(CFLAGS) $(LIBS)";' >> $@
 
 install:
-	./install-sh -c -s -m 555 -o bin -g bin $(PROG) $(BINDEST)/$(PROG)
-	./install-sh -c -m 444 -o bin -g bin $(PROG).1 $(MANDEST)/man1/$(PROG).1
-	[ -f /etc/$(PROG) ] || ./install-sh -c -m 444 .trafshow /etc/$(PROG)
+	./install-sh -c -m 755 -o root -g root $(PROG) $(DESTDIR)$(BINDEST)/$(PROG)
+	./install-sh -c -m 644 -o root -g root $(PROG).1 $(DESTDIR)$(MANDEST)/man1/$(PROG).1
+	[ -f $(DESTDIR)/etc/$(PROG) ] || ./install-sh -c -o root -m 644 .trafshow $(DESTDIR)/etc/$(PROG)
 
 clean:
 	rm -f $(CLEANFILES)