summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/which
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-07-15 17:18:33 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-16 10:31:16 +0100
commit9da7e68a66eb5be991c4362fc1702dd8038e7ccc (patch)
tree103f72430967cc8f69b53a79299ae6e09f8998f5 /meta/recipes-extended/which
parentd779dce64c15d02055f310776df1465deadc60bf (diff)
downloadpoky-9da7e68a66eb5be991c4362fc1702dd8038e7ccc.tar.gz
which: use "foreign" automake strictness
which doesn't want GNU-levels of automake strictness so tell it to be "foreign". (From OE-Core rev: 5007bfcd6d21beb1e4da2ad1a1fe0dbd1f48a2db) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/which')
-rw-r--r--meta/recipes-extended/which/which-2.20/automake.patch10
-rw-r--r--meta/recipes-extended/which/which_2.20.bb1
2 files changed, 11 insertions, 0 deletions
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 0000000000..92365dd854
--- /dev/null
+++ b/meta/recipes-extended/which/which-2.20/automake.patch
@@ -0,0 +1,10 @@
1diff --git a/configure.ac b/configure.ac
2index d974461..a20dfa8 100644
3--- a/configure.ac
4+++ b/configure.ac
5@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure script.
6-AC_INIT(which.c)
7-AM_INIT_AUTOMAKE(which, 2.20)
8+AC_INIT([which],[2.20])
9+AC_CONFIG_SRCDIR(which.c)
10+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 f3c6037786..74835543de 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"
18EXTRA_OECONF = "--disable-iberty" 18EXTRA_OECONF = "--disable-iberty"
19 19
20SRC_URI = "${GNU_MIRROR}/which/which-${PV}.tar.gz \ 20SRC_URI = "${GNU_MIRROR}/which/which-${PV}.tar.gz \
21 file://automake.patch \
21 file://remove-declaration.patch" 22 file://remove-declaration.patch"
22 23
23SRC_URI[md5sum] = "95be0501a466e515422cde4af46b2744" 24SRC_URI[md5sum] = "95be0501a466e515422cde4af46b2744"