From bad434be9314ad18fafd6800e27bc94ff3e95e49 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Fri, 8 Apr 2016 03:14:21 -0700 Subject: 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. (From OE-Core rev: 190b57a5f130f8a48d417ad472c0131c49302ee1) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch') 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 0fc84070ed..3277165618 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="" -- cgit v1.2.3-54-g00ecf