[oe] [PATCH 3/7] which: use "foreign" automake strictness
Ross Burton
ross.burton at intel.com
Tue Jul 15 16:18:33 UTC 2014
which doesn't want GNU-levels of automake strictness so tell it to be "foreign".
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-extended/which/which-2.20/automake.patch | 10 ++++++++++
meta/recipes-extended/which/which_2.20.bb | 1 +
2 files changed, 11 insertions(+)
create mode 100644 meta/recipes-extended/which/which-2.20/automake.patch
diff --git a/meta/recipes-extended/which/which-2.20/automake.patch b/meta/recipes-extended/which/which-2.20/automake.patch
new file mode 100644
index 0000000..92365dd
--- /dev/null
+++ b/meta/recipes-extended/which/which-2.20/automake.patch
@@ -0,0 +1,10 @@
+diff --git a/configure.ac b/configure.ac
+index d974461..a20dfa8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(which.c)
+-AM_INIT_AUTOMAKE(which, 2.20)
++AC_INIT([which],[2.20])
++AC_CONFIG_SRCDIR(which.c)
++AM_INIT_AUTOMAKE([foreign])
diff --git a/meta/recipes-extended/which/which_2.20.bb b/meta/recipes-extended/which/which_2.20.bb
index f3c6037..7483554 100644
--- a/meta/recipes-extended/which/which_2.20.bb
+++ b/meta/recipes-extended/which/which_2.20.bb
@@ -18,6 +18,7 @@ PR = "r3"
EXTRA_OECONF = "--disable-iberty"
SRC_URI = "${GNU_MIRROR}/which/which-${PV}.tar.gz \
+ file://automake.patch \
file://remove-declaration.patch"
SRC_URI[md5sum] = "95be0501a466e515422cde4af46b2744"
--
1.7.10.4
More information about the Openembedded-devel
mailing list