[oe] [PATCH 01/16] classes/autotools.bbclass: Dont bail out if gettext/config.rpath does not exist.

Martin Jansa martin.jansa at gmail.com
Fri Jun 4 07:35:16 UTC 2010


On Wed, Jun 2, 2010 at 10:34 PM, Khem Raj <raj.khem at gmail.com> wrote:
> * Add a note if this file does not exist. The reason is that gettext can
>  needs libiconv and libiconv needs gettext so we need to solve this
>  catch 22
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>

Acked-by: Martin Jansa <Martin.Jansa at gmail.com>

> ---
>  classes/autotools.bbclass |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
> index df2c114..8a5b982 100644
> --- a/classes/autotools.bbclass
> +++ b/classes/autotools.bbclass
> @@ -125,7 +125,11 @@ autotools_do_configure() {
>                            echo "no" | glib-gettextize --force --copy
>                          fi
>                        else if grep "^[[:space:]]*AM_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
> -                         cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/
> +                         if [ -e ${STAGING_DATADIR}/gettext/config.rpath ]; then
> +                           cp ${STAGING_DATADIR}/gettext/config.rpath ${S}/
> +                         else
> +                           oenote ${STAGING_DATADIR}/gettext/config.rpath not found. gettext is not installed.
> +                         fi
>                        fi
>
>                        fi
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list