[oe-commits] [openembedded-core] 03/09: libxml2: fix AM_PATH_XML2

git at git.openembedded.org git at git.openembedded.org
Sat Apr 9 07:00:55 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 190b57a5f130f8a48d417ad472c0131c49302ee1
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Fri Apr 8 03:14:21 2016 -0700

    libxml2: fix AM_PATH_XML2
    
    The code: suppose $1 == 2.7:
    verdep=ifelse([$1], [], [], [>= $1])
    results in:
    verdep=>= 2.7
    This is wrong in shell:
    bash: 2.7: command not found
    
    Use quotation marks to fix the problem.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch b/meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch
index 0fc8407..3277165 100644
--- a/meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch
+++ b/meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch
@@ -190,7 +190,7 @@ index 68cd824..5fa0a9b 100644
 -          LIBS="$ac_save_LIBS"
 -       fi
 -     fi
-+  verdep=ifelse([$1], [], [], [>= $1])
++  verdep=ifelse([$1], [], [], [">= $1"])
 +  PKG_CHECK_MODULES(XML, [libxml-2.0 $verdep], [$2], [$3])
  
 -     XML_CPPFLAGS=""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list