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

Martin Jansa martin.jansa at gmail.com
Sat Apr 12 10:44:12 UTC 2014


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 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"

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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140412/d02b654b/attachment-0002.sig>


More information about the Openembedded-devel mailing list