summaryrefslogtreecommitdiffstats
path: root/main/procps/01-fix-install-options-for-busybox.patch
blob: 792a78155bf6e208855c5a24d40e9df3edce338f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
--- orig/procps-3.2.8/Makefile
+++ src/procps-3.2.8/Makefile
@@ -27,7 +27,7 @@
 ldconfig := ldconfig
 ln_f     := ln -f
 ln_sf    := ln -sf
-install  := install -D --owner 0 --group 0
+install  := install -D -o 0 -g 0
 
 # Lame x86-64 /lib64 and /usr/lib64 abomination:
 lib64    := lib$(shell [ -d /lib64 ] && echo 64)
@@ -222,10 +222,10 @@
 ###### install
 
 $(BINFILES) : all
-	$(install) --mode a=rx $(notdir $@) $@
+	$(install) -m a=rx $(notdir $@) $@
 
 $(MANFILES) : all
-	$(install) --mode a=r $(notdir $@) $@
+	$(install) -m a=r $(notdir $@) $@
 
 install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
 	cd $(usr/bin) && $(ln_f) skill snice
--- orig/procps-3.2.8/proc/module.mk
+++ src/procps-3.2.8/proc/module.mk
@@ -96,7 +96,7 @@
 #################### install rules ###########################
 
 $(lib)$(SOFILE) : proc/$(SONAME)
-	$(install) --mode a=rx $< $@
+	$(install) -m a=rx $< $@
 
 ifneq ($(SOLINK),$(SOFILE))
 .PHONY: $(lib)$(SOLINK)
@@ -115,14 +115,14 @@
 	$(ldconfig)
 
 $(usr/lib)$(ANAME) : proc/$(ANAME)
-	$(install) --mode a=r $< $@
+	$(install) -m a=r $< $@
 
 # Junk anyway... supposed to go in /usr/include/$(NAME)
 #INSTALL += $(addprefix $(include),$(HDRFILES))
 #
 #$(addprefix $(include),$(HDRFILES)): $(include)% : proc/%
 #$(include)% : proc/%
-#	$(install) --mode a=r $< $@
+#	$(install) -m a=r $< $@
 
 ##################################################################
 
--- orig/procps-3.2.8/ps/module.mk
+++ src/procps-3.2.8/ps/module.mk
@@ -33,8 +33,8 @@
 
 
 $(bin)ps: ps/ps
-	$(install) --mode a=rx $< $@
+	$(install) -m a=rx $< $@
 
 $(man1)ps.1 : ps/ps.1
-	$(install) --mode a=r $< $@
+	$(install) -m a=r $< $@
 	-rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz