[oe] [PATCH] gnome-power-manager: fix compilation

Paul Menzel paulepanter at users.sourceforge.net
Thu Dec 30 10:20:31 UTC 2010


Am Donnerstag, den 30.12.2010, 09:55 +0100 schrieb Eric Bénard:

I would prefer if the error message `libtool: Command not found` (if it
is that short) is noted in the commit summary.

	gnome-power-manager: fix compilation: `libtool: Command not found`

> * libtool is hardcoded in src/Makefile and leads to
> libtool: Command not found
> 
> Signed-off-by: Eric Bénard <eric at eukrea.com>
> ---
>  recipes/gnome/gnome-power-manager_2.30.0.bb |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/recipes/gnome/gnome-power-manager_2.30.0.bb b/recipes/gnome/gnome-power-manager_2.30.0.bb
> index a752852..0c7bcb5 100644
> --- a/recipes/gnome/gnome-power-manager_2.30.0.bb
> +++ b/recipes/gnome/gnome-power-manager_2.30.0.bb
> @@ -27,6 +27,7 @@ do_configure_append() {
>          for i in $(find ${S} -name "Makefile") ; do
>              sed -i -e s:-Werror::g $i
>          done
> +		sed -e "s/libtool --/${TARGET_SYS}-libtool --/" -i ${S}/src/Makefile
>  }
>  
>  PACKAGES =+ "${PN}-applets"

Acked-by: Paul Menzel <paulepanter at users.sourceforge.net>

What is the proper patch to send upstream? Is `${TARGET_SYS}` always
defined? But »-« would still make problems, wouldn’t it? Is there a
program implementing this correctly in `Makefile`?


Thanks,

Paul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20101230/702a6a35/attachment-0002.sig>


More information about the Openembedded-devel mailing list