summaryrefslogtreecommitdiff
path: root/package/procps/patches/patch-ps_module_mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/procps/patches/patch-ps_module_mk')
-rw-r--r--package/procps/patches/patch-ps_module_mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/procps/patches/patch-ps_module_mk b/package/procps/patches/patch-ps_module_mk
new file mode 100644
index 000000000..7d6798e03
--- /dev/null
+++ b/package/procps/patches/patch-ps_module_mk
@@ -0,0 +1,16 @@
+$Id$
+--- procps-3.2.7.orig/ps/module.mk Sun Oct 30 03:19:24 2005
++++ procps-3.2.7/ps/module.mk Tue May 22 14:32:45 2007
+@@ -33,8 +33,10 @@ ps/stacktrace.o: ps/stacktrace.c
+
+
+ $(bin)ps: ps/ps
+- $(install) --mode a=rx $< $@
++ mkdir -p $(dir $@)
++ install -c -m 555 $< $@
+
+ $(man1)ps.1 : ps/ps.1
+- $(install) --mode a=r $< $@
++ mkdir -p $(dir $@)
++ install -c -m 444 $< $@
+ -rm -f $(DESTDIR)/var/catman/cat1/ps.1.gz $(DESTDIR)/var/man/cat1/ps.1.gz