diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-08-23 22:18:12 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-24 15:02:23 -0700 |
commit | ed7affc42c513a27a3952d7d1c3ac5c93f20bff8 (patch) | |
tree | 4d92f61fed5c4348f7b67d9e2169703060c9a9b0 /meta/recipes-extended/procps/procps-3.2.8 | |
parent | 16ca6dda2ce30942c62c8ee3e5f545be9732f25b (diff) | |
download | poky-ed7affc42c513a27a3952d7d1c3ac5c93f20bff8.tar.gz |
procps: Fix lib path to support multilib
Revise the install.patch which hardcode the lib paths.
Change ${PN} to ${BPN} in file names.
(From OE-Core rev: 7e3e69d38898876ba3325852bbec04586635e66f)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/procps/procps-3.2.8')
-rw-r--r-- | meta/recipes-extended/procps/procps-3.2.8/install.patch | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/meta/recipes-extended/procps/procps-3.2.8/install.patch b/meta/recipes-extended/procps/procps-3.2.8/install.patch index b52a2c9141..2a59a5ff68 100644 --- a/meta/recipes-extended/procps/procps-3.2.8/install.patch +++ b/meta/recipes-extended/procps/procps-3.2.8/install.patch | |||
@@ -1,20 +1,30 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | 1 | Upstream-Status: Inappropriate [configuration] |
2 | 2 | ||
3 | --- procps-3.2.5.virgin/Makefile 2005-01-26 05:55:26.000000000 +0100 | 3 | diff -ruN procps-3.2.8-orig//Makefile procps-3.2.8/Makefile |
4 | +++ procps-3.2.5/Makefile 2005-08-03 04:55:26.346984488 +0200 | 4 | --- procps-3.2.8-orig//Makefile 2011-08-23 22:06:46.471163999 +0800 |
5 | @@ -30,7 +30,10 @@ | 5 | +++ procps-3.2.8/Makefile 2011-08-23 22:15:01.091163999 +0800 |
6 | @@ -29,9 +29,6 @@ | ||
7 | ln_sf := ln -sf | ||
6 | install := install -D --owner 0 --group 0 | 8 | install := install -D --owner 0 --group 0 |
7 | 9 | ||
8 | # Lame x86-64 /lib64 and /usr/lib64 abomination: | 10 | -# Lame x86-64 /lib64 and /usr/lib64 abomination: |
9 | -lib64 := lib$(shell [ -d /lib64 ] && echo 64) | 11 | -lib64 := lib$(shell [ -d /lib64 ] && echo 64) |
10 | +# lib64 := lib$(shell [ -d /lib64 ] && echo 64) | 12 | - |
11 | + | ||
12 | +# Equally lame hack to work around makefile lameness when the host arch is 64bit, but the target is not. | ||
13 | +lib64 := lib | ||
14 | |||
15 | usr/bin := $(DESTDIR)/usr/bin/ | 13 | usr/bin := $(DESTDIR)/usr/bin/ |
16 | bin := $(DESTDIR)/bin/ | 14 | bin := $(DESTDIR)/bin/ |
17 | @@ -211,10 +214,10 @@ | 15 | sbin := $(DESTDIR)/sbin/ |
16 | @@ -39,8 +36,8 @@ | ||
17 | man1 := $(DESTDIR)/usr/share/man/man1/ | ||
18 | man5 := $(DESTDIR)/usr/share/man/man5/ | ||
19 | man8 := $(DESTDIR)/usr/share/man/man8/ | ||
20 | -lib := $(DESTDIR)/$(lib64)/ | ||
21 | -usr/lib := $(DESTDIR)/usr/$(lib64)/ | ||
22 | +lib := $(DESTDIR)/$(base_libdir)/ | ||
23 | +usr/lib := $(DESTDIR)/$(libdir)/ | ||
24 | usr/include := $(DESTDIR)/usr/include/ | ||
25 | |||
26 | #SKIP := $(bin)kill $(man1)kill.1 | ||
27 | @@ -222,10 +219,10 @@ | ||
18 | ###### install | 28 | ###### install |
19 | 29 | ||
20 | $(BINFILES) : all | 30 | $(BINFILES) : all |