]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/procps/procps-3.2.5/install.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / procps / procps-3.2.5 / install.patch
1 --- procps-3.2.5.virgin/Makefile        2005-01-26 05:55:26.000000000 +0100
2 +++ procps-3.2.5/Makefile       2005-08-03 04:55:26.346984488 +0200
3 @@ -30,7 +30,10 @@
4  install  := install -D --owner 0 --group 0
5  
6  # Lame x86-64 /lib64 and /usr/lib64 abomination:
7 -lib64    := lib$(shell [ -d /lib64 ] && echo 64)
8 +# lib64    := lib$(shell [ -d /lib64 ] && echo 64)
9 +
10 +# Equally lame hack to work around makefile lameness when the host arch is 64bit, but the target is not.
11 +lib64      := lib
12  
13  usr/bin                  := $(DESTDIR)/usr/bin/
14  bin                      := $(DESTDIR)/bin/
15 @@ -211,10 +214,10 @@
16  ###### install
17  
18  $(BINFILES) : all
19 -       $(install) --mode a=rx $(notdir $@) $@
20 +       $(install) -m 555 $(notdir $@) $@
21  
22  $(MANFILES) : all
23 -       $(install) --mode a=r $(notdir $@) $@
24 +       $(install) -m 444 $(notdir $@) $@
25  
26  install: $(filter-out $(SKIP) $(addprefix $(DESTDIR),$(SKIP)),$(INSTALL))
27         cd $(usr/bin) && $(ln_f) skill snice