Changeset f8c5cfb in freewrt
- Timestamp:
- May 22, 2007, 4:33:47 PM (19 years ago)
- Children:
- 5e15178
- Parents:
- 24ad068
- Location:
- package/procps/patches
- Files:
-
- 1 added
- 2 edited
-
patch-Makefile (modified) (2 diffs)
-
patch-proc_module_mk (modified) (2 diffs)
-
patch-ps_module_mk (added)
Legend:
- Unmodified
- Added
- Removed
-
package/procps/patches/patch-Makefile
r24ad068 rf8c5cfb 1 1 $FreeWRT$ 2 install as non-root 3 --- procps-3.2.7.orig/Makefile 2006-06-24 11:02:25.000000000 +0200 4 +++ procps-3.2.7/Makefile 2006-12-13 15:51:09.000000000 +0100 2 3 install(1) doesn't have a -D option 4 5 --- procps-3.2.7.orig/Makefile Sat Jun 24 09:02:02 2006 6 +++ procps-3.2.7/Makefile Tue May 22 14:28:43 2007 5 7 @@ -27,7 +27,7 @@ TARVERSION := $(VERSION).$(SUBVERSION) 6 8 ldconfig := ldconfig … … 8 10 ln_sf := ln -sf 9 11 -install := install -D --owner 0 --group 0 10 +install := install -D12 +install := install 11 13 12 14 # Lame x86-64 /lib64 and /usr/lib64 abomination: 13 15 lib64 := lib$(shell [ -d /lib64 ] && echo 64) 16 @@ -222,10 +222,16 @@ clean: 17 ###### install 18 19 $(BINFILES) : all 20 - $(install) --mode a=rx $(notdir $@) $@ 21 + mkdir -p $(dir $@) 22 + for f in $@; do \ 23 + install -c -m 555 $$(basename $$f) $$f; \ 24 + done 25 26 $(MANFILES) : all 27 - $(install) --mode a=r $(notdir $@) $@ 28 + mkdir -p $(dir $@) 29 + for f in $@; do \ 30 + install -c -m 444 $$(basename $$f) $$f; \ 31 + done 32 33 install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL)) 34 cd $(usr/bin) && $(ln_f) skill snice -
package/procps/patches/patch-proc_module_mk
r24ad068 rf8c5cfb 1 1 $FreeWRT$ 2 2 Build everything static 3 --- procps-3.2.7.orig/proc/module.mk 2004-09-23 15:10:42.000000000 +02004 +++ procps-3.2.7/proc/module.mk 2006-12-13 16:08:35.000000000 +01003 --- procps-3.2.7.orig/proc/module.mk Thu Sep 23 13:10:20 2004 4 +++ procps-3.2.7/proc/module.mk Tue May 22 14:32:45 2007 5 5 @@ -17,7 +17,7 @@ 6 6 # numbers for future use, the ELF soname can be set equal to the … … 12 12 # for lib$(NAME).so and /usr/include/($NAME) and such 13 13 NAME := proc 14 @@ -96,7 +96,8 @@ endif 15 #################### install rules ########################### 16 17 $(lib)$(SOFILE) : proc/$(SONAME) 18 - $(install) --mode a=rx $< $@ 19 + mkdir -p $(dir $@) 20 + install -c -m 555 $< $@ 21 22 ifneq ($(SOLINK),$(SOFILE)) 23 .PHONY: $(lib)$(SOLINK) 24 @@ -115,7 +116,8 @@ ldconfig : $(lib)$(SONAME) $(lib)$(SOLIN 25 $(ldconfig) 26 27 $(usr/lib)$(ANAME) : proc/$(ANAME) 28 - $(install) --mode a=r $< $@ 29 + mkdir -p $(dir $@) 30 + install -c -m 444 $< $@ 31 32 # Junk anyway... supposed to go in /usr/include/$(NAME) 33 #INSTALL += $(addprefix $(include),$(HDRFILES))
Note:
See TracChangeset
for help on using the changeset viewer.
