Skip to contentSkip to conversation

libxml2: fix AM_PATH_XML2

PATCH New Robert Yang 1 participant 2 messages Apr 8, 2016

lore
Share & tools
lore
#0 lore raw

cover libxml2: fix AM_PATH_XML2

The following changes since commit 5ebea1114d54120d5ff5d8a6cd148110d0fda23f:

build-appliance-image: Update to master head revision (2016-04-06 23:54:57 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/libxml2
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/libxml2

Robert Yang (1):
libxml2: fix AM_PATH_XML2

 meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch +1 -1
index 0fc8407..3277165 100644
@@ -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=""
Signature · 1 line
2.7.4