[oe] [PATCH][STABLE] procps_3.2.7.bb: Fix compilation when usr/bin is same as /bin

Koen Kooi k.kooi at student.utwente.nl
Mon Mar 22 12:33:50 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Acked-by: Koen Kooi <koen at openembedded.org>

On 22-03-10 12:05, Marcin Juszkiewicz wrote:
> From: Khem Raj <raj.khem at gmail.com>
> 
> * On DISTROs like micro where bindir and base_bindir are
>   same, procps does not compile because it wants to install
>   binaries in both places. We have to pass the variable to
>   make file since it does not use autotools.
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  recipes/procps/procps_3.2.7.bb |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/recipes/procps/procps_3.2.7.bb b/recipes/procps/procps_3.2.7.bb
> index 6da975a..b31b683 100644
> --- a/recipes/procps/procps_3.2.7.bb
> +++ b/recipes/procps/procps_3.2.7.bb
> @@ -1,6 +1,6 @@
>  require procps.inc
>  
> -PR = "r8"
> +PR = "r9"
>  
>  inherit update-rc.d
>  
> @@ -23,6 +23,9 @@ CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
>  
>  EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
>                  CPPFLAGS=-I${STAGING_INCDIR} \
> +		usr/bin=${D}${bindir}/ \
> +		bin=${D}${base_bindir}/ \
> +		usr/proc/bin=${D}${bindir}/ \
>                  LDFLAGS="${LDFLAGS}" \
>                  CURSES=-lncurses \
>                  install='install -D' \

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLp2OuMkyGM64RGpERArDhAJ9VL4hiSYnMVZNdQ7uIY4uXlGBuLgCcC/lp
DEhNIWHzpVzpyR1CGEdfHPU=
=7o67
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list