diff mbox

[meta-oe,1/3] liblockfile: remove configure warning

Message ID 1396701582-15906-2-git-send-email-trevor.woerner@linaro.org
State New
Headers show

Commit Message

Trevor Woerner April 5, 2014, 12:39 p.m. UTC
This fix gets rid of the following warning:

    configure: WARNING: unrecognized options: ... --with-libtool-sysroot

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
---
 .../liblockfile/liblockfile-1.09/configure.patch       | 18 ++++++++++++++----
 .../recipes-extended/liblockfile/liblockfile_1.09.bb   |  4 ++++
 2 files changed, 18 insertions(+), 4 deletions(-)

Comments

Martin Jansa April 12, 2014, 10:44 a.m. UTC | #1
On Sat, Apr 05, 2014 at 08:39:40AM -0400, Trevor Woerner wrote:
> This fix gets rid of the following warning:
> 
>     configure: WARNING: unrecognized options: ... --with-libtool-sysroot
> 
> Signed-off-by: Trevor Woerner <trevor.woerner@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"

Can you please rebase on current master (maybe you have one more patch
which you haven't sent), because in master there is:

EXTRA_OECONF = "--enable-shared --enable-static"

so this doesn't apply.

>  
> +do_configure_prepend () {
> +    touch install-sh
> +}
> +
>  do_install () {
>      oe_runmake 'ROOT=${D}' INSTGRP='' install
>  }
> -- 
> 1.9.0
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Trevor Woerner April 13, 2014, 3:54 p.m. UTC | #2
On 04/12/14 06:44, Martin Jansa wrote:
> Can you please rebase on current master (maybe you have one more patch
> which you haven't sent), because in master there is:
>
> EXTRA_OECONF = "--enable-shared --enable-static"
>
> so this doesn't apply.

Okay, I'll send a v2.
diff mbox

Patch

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
 }