[oe] [PATCH 7/7] autoconf: remove automake patch enforcing --foreign

Khem Raj raj.khem at gmail.com
Tue Jul 15 20:14:17 UTC 2014


On Jul 15, 2014 9:20 AM, "Ross Burton" <ross.burton at intel.com> wrote:
>
> Since 2004 we've been carrying a patch[1] make autoreconf pass --foreign
to
> automake.  Presumably at the time this was due to many upstreams using
> hand-coded bootstrap scripts that passed --foreign manually, but we were
using
> autoreconf.  These days many projects have added foreign to
AM_INIT_AUTOMAKE and
> use autoreconf directly, so this patch isn't as critical as it used to be.

can it be somehow made such that it can be passed via option flags so we
dont have to patch the packages not using above automake macro
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
>
> [1] oe-classic 2ab2a92eadaf2f80410d8746099f8a9b1b81ff91
> ---
>  .../autoconf/autoconf/autoreconf-foreign.patch            |   13
-------------
>  meta/recipes-devtools/autoconf/autoconf_2.69.bb           |    1 -
>  2 files changed, 14 deletions(-)
>  delete mode 100644
meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
>
> diff --git
a/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
b/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
> deleted file mode 100644
> index 88f7501..0000000
> --- a/meta/recipes-devtools/autoconf/autoconf/autoreconf-foreign.patch
> +++ /dev/null
> @@ -1,13 +0,0 @@
> -Upstream-Status: Pending
> -
> ---- autoconf-2.59/bin/autoreconf.in~autoreconf-foreign 2004-05-09
20:55:06.000000000 -0400
> -+++ autoconf-2.59/bin/autoreconf.in    2004-05-09 20:55:55.000000000
-0400
> -@@ -184,6 +184,8 @@
> -
> -   $aclocal_supports_force = `$aclocal --help` =~ /--force/;
> -
> -+  $automake   .= ' --foreign';
> -+
> -   # Dispatch autoreconf's option to the tools.
> -   # --include;
> -   $autoconf   .= join (' --include=', '', @include);
> diff --git a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
> index 5c652d4..6614a7b 100644
> --- a/meta/recipes-devtools/autoconf/autoconf_2.69.bb
> +++ b/meta/recipes-devtools/autoconf/autoconf_2.69.bb
> @@ -10,7 +10,6 @@ LIC_FILES_CHKSUM =
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
>  SRC_URI += "file://autoreconf-include.patch \
>             file://check-automake-cross-warning.patch \
>             file://autoreconf-exclude.patch \
> -           file://autoreconf-foreign.patch \
>             file://autoreconf-gnuconfigize.patch \
>              file://config_site.patch \
>              file://remove-usr-local-lib-from-m4.patch \
> --
> 1.7.10.4
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list