Changeset f8c5cfb in freewrt


Ignore:
Timestamp:
May 22, 2007, 4:33:47 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
5e15178
Parents:
24ad068
Message:

annoying

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2606 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/procps/patches
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • package/procps/patches/patch-Makefile

    r24ad068 rf8c5cfb  
    11$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
    57@@ -27,7 +27,7 @@ TARVERSION   := $(VERSION).$(SUBVERSION)
    68 ldconfig := ldconfig
     
    810 ln_sf    := ln -sf
    911-install  := install -D --owner 0 --group 0
    10 +install  := install -D
     12+install  := install
    1113 
    1214 # Lame x86-64 /lib64 and /usr/lib64 abomination:
    1315 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  
    11$FreeWRT$
    22Build everything static
    3 --- procps-3.2.7.orig/proc/module.mk    2004-09-23 15:10:42.000000000 +0200
    4 +++ procps-3.2.7/proc/module.mk 2006-12-13 16:08:35.000000000 +0100
     3--- 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
    55@@ -17,7 +17,7 @@
    66 # numbers for future use, the ELF soname can be set equal to the
     
    1212 # for lib$(NAME).so and /usr/include/($NAME) and such
    1313 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.