[oe] [meta-oe][PATCH 1/3] liblockfile: remove configure warning
Trevor Woerner
trevor.woerner at linaro.org
Sat Apr 5 12:39:40 UTC 2014
This fix gets rid of the following warning:
configure: WARNING: unrecognized options: ... --with-libtool-sysroot
Signed-off-by: Trevor Woerner <trevor.woerner at linaro.org>
---
.../liblockfile/liblockfile-1.09/configure.patch | 18 ++++++++++++++----
.../recipes-extended/liblockfile/liblockfile_1.09.bb | 4 ++++
2 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/meta-oe/recipes-extended/liblockfile/liblockfile-1.09/configure.patch b/meta-oe/recipes-extended/liblockfile/liblockfile-1.09/configure.patch
index ea13e11..12413cf 100644
--- a/meta-oe/recipes-extended/liblockfile/liblockfile-1.09/configure.patch
+++ b/meta-oe/recipes-extended/liblockfile/liblockfile-1.09/configure.patch
@@ -3,16 +3,26 @@
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#
---- liblockfile-1.05/./configure.in~configure
-+++ liblockfile-1.05/./configure.in
-@@ -1,4 +1,5 @@
+Index: liblockfile-1.09/configure.in
+===================================================================
+--- liblockfile-1.09.orig/configure.in
++++ liblockfile-1.09/configure.in
+@@ -1,10 +1,13 @@
-AC_INIT(lockfile.c)
+AC_INIT
+AC_CONFIG_SRCDIR([lockfile.c])
AC_CONFIG_HEADER(autoconf.h)
AC_REVISION($Revision: 1.0 $)dnl
-@@ -111,7 +112,8 @@
+ dnl Check for GNU cc
+ AC_PROG_CC
+
++AC_PROG_LIBTOOL
++
+ dnl Set Default CFLAGS
+ if test "$GCC" = "yes"; then
+ CFLAGS="$CFLAGS -Wall -D_GNU_SOURCE"
+@@ -111,7 +114,8 @@ AC_SUBST(TARGETS)
AC_SUBST(INSTALL_TARGETS)
AC_SUBST(nfslockdir)
diff --git a/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb b/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb
index 88ebfd8..67d2221 100644
--- a/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb
+++ b/meta-oe/recipes-extended/liblockfile/liblockfile_1.09.bb
@@ -16,6 +16,10 @@ inherit autotools
EXTRA_OECONF = "--enable-shared"
+do_configure_prepend () {
+ touch install-sh
+}
+
do_install () {
oe_runmake 'ROOT=${D}' INSTGRP='' install
}
--
1.9.0
More information about the Openembedded-devel
mailing list