2011-05-12 03:13:55 +00:00
|
|
|
Upstream-Status: Inappropriate [configuration]
|
|
|
|
|
2011-08-23 14:18:12 +00:00
|
|
|
diff -ruN procps-3.2.8-orig//Makefile procps-3.2.8/Makefile
|
|
|
|
--- procps-3.2.8-orig//Makefile 2011-08-23 22:06:46.471163999 +0800
|
|
|
|
+++ procps-3.2.8/Makefile 2011-08-23 22:15:01.091163999 +0800
|
|
|
|
@@ -29,9 +29,6 @@
|
|
|
|
ln_sf := ln -sf
|
2009-08-19 16:10:08 +00:00
|
|
|
install := install -D --owner 0 --group 0
|
|
|
|
|
2011-08-23 14:18:12 +00:00
|
|
|
-# Lame x86-64 /lib64 and /usr/lib64 abomination:
|
2009-08-19 16:10:08 +00:00
|
|
|
-lib64 := lib$(shell [ -d /lib64 ] && echo 64)
|
2011-08-23 14:18:12 +00:00
|
|
|
-
|
2009-08-19 16:10:08 +00:00
|
|
|
usr/bin := $(DESTDIR)/usr/bin/
|
|
|
|
bin := $(DESTDIR)/bin/
|
2011-08-23 14:18:12 +00:00
|
|
|
sbin := $(DESTDIR)/sbin/
|
|
|
|
@@ -39,8 +36,8 @@
|
|
|
|
man1 := $(DESTDIR)/usr/share/man/man1/
|
|
|
|
man5 := $(DESTDIR)/usr/share/man/man5/
|
|
|
|
man8 := $(DESTDIR)/usr/share/man/man8/
|
|
|
|
-lib := $(DESTDIR)/$(lib64)/
|
|
|
|
-usr/lib := $(DESTDIR)/usr/$(lib64)/
|
|
|
|
+lib := $(DESTDIR)/$(base_libdir)/
|
|
|
|
+usr/lib := $(DESTDIR)/$(libdir)/
|
|
|
|
usr/include := $(DESTDIR)/usr/include/
|
|
|
|
|
|
|
|
#SKIP := $(bin)kill $(man1)kill.1
|
|
|
|
@@ -222,10 +219,10 @@
|
2009-08-19 16:10:08 +00:00
|
|
|
###### install
|
|
|
|
|
|
|
|
$(BINFILES) : all
|
|
|
|
- $(install) --mode a=rx $(notdir $@) $@
|
|
|
|
+ $(install) -m 555 $(notdir $@) $@
|
|
|
|
|
|
|
|
$(MANFILES) : all
|
|
|
|
- $(install) --mode a=r $(notdir $@) $@
|
|
|
|
+ $(install) -m 444 $(notdir $@) $@
|
|
|
|
|
|
|
|
install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
|
|
|
|
cd $(usr/bin) && $(ln_f) skill snice
|