]> code.ossystems Code Review - openembedded-core.git/commitdiff
which-2.18: Use foreign strictness to avoid automake errors
authorJackie Huang <jackie.huang@windriver.com>
Tue, 28 Oct 2014 02:12:00 +0000 (22:12 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Dec 2014 10:17:02 +0000 (10:17 +0000)
Fixed:
Makefile.am: error: required file './ChangeLog' not found

(From OE-Core rev: c84bfa0f519e0bb74aed833a6318c21d91fce377)

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-extended/which/which-2.18/automake-foreign.patch [new file with mode: 0644]
meta/recipes-extended/which/which_2.18.bb

diff --git a/meta/recipes-extended/which/which-2.18/automake-foreign.patch b/meta/recipes-extended/which/which-2.18/automake-foreign.patch
new file mode 100644 (file)
index 0000000..8ab1d02
--- /dev/null
@@ -0,0 +1,27 @@
+Subject: [PATCH] automake foreign strictness
+
+Use foreign strictness to avoid automake errors.
+
+Upstream-Status: Inappropriate [upstream no longer active]
+
+Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
+---
+ configure.ac |    5 +++--
+ 1 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index b30b6f5..bd3222c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,6 +1,7 @@
+ dnl Process this file with autoconf to produce a configure script.
+-AC_INIT(which.c)
+-AM_INIT_AUTOMAKE(which, 2.18)
++AC_INIT([which],[2.18])
++AC_CONFIG_SRCDIR(which.c)
++AM_INIT_AUTOMAKE([foreign])
+ AM_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
+
+--
+1.7.1
index 5fa5d9e8ebddd70bbf77924e7f6caab2a4a10b18..fd68520d977db849af1a6cafb6e128f12bd107d8 100644 (file)
@@ -12,7 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 PR = "r2"
 
 SRC_URI = "http://www.xs4all.nl/~carlo17/which/which-${PV}.tar.gz \
-           file://fix_name_conflict_group_member.patch"
+           file://fix_name_conflict_group_member.patch \
+           file://automake-foreign.patch \
+"
 
 SRC_URI[md5sum] = "42d51938e48b91f6e19fabf216f5c3e9"
 SRC_URI[sha256sum] = "9445cd7e02ec0c26a44fd56098464ded064ba5d93dd2e15ec12410ba56b2e544"