Patchwork [meta-oe,meta-efl,6/6] mcnavi: fix do_configure_prepend to be reentrant

login
register
mail settings
Submitter Martin Jansa
Date Sept. 11, 2012, 5:22 p.m.
Message ID <d010c0650b8331d97e5cf5681930f73da7de2d29.1347384123.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/36339/
State Accepted
Commit d010c0650b8331d97e5cf5681930f73da7de2d29
Headers show

Comments

Martin Jansa - Sept. 11, 2012, 5:22 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-navigation/mcnavi/mcnavi_0.3.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-oe/recipes-navigation/mcnavi/mcnavi_0.3.3.bb b/meta-oe/recipes-navigation/mcnavi/mcnavi_0.3.3.bb
index f4d594f..35c304c 100644
--- a/meta-oe/recipes-navigation/mcnavi/mcnavi_0.3.3.bb
+++ b/meta-oe/recipes-navigation/mcnavi/mcnavi_0.3.3.bb
@@ -4,6 +4,8 @@  LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
 DEPENDS = "ecore evas imlib2 gpsd edje edje-native mysql5"
 
+PR = "r1"
+
 SRC_URI = "http://www.gps-routes.info/debian/pool/main/m/mcnavi/mcnavi_${PV}.tar.gz"
 SRC_URI[md5sum] = "acc07debcdb3ef448b95e6a6cfcf53d8"
 SRC_URI[sha256sum] = "d3ce1f5901f13985d877b2b6ad06b64094ba43a4e13cbfe06c7cb2f1abdda309"
@@ -12,7 +14,7 @@  S = "${WORKDIR}/${PN}"
 
 do_configure_prepend() {
   # for some reason our mysql_config returns just sysroot/include_dir while mysql.h is in include_dir/mysql
-  sed -i 's#`mysql_config --include`#`mysql_config --include`/mysql#g' ${S}/configure.ac
+  sed -i 's#`mysql_config --include`$#`mysql_config --include`/mysql#g' ${S}/configure.ac
 }
 
 inherit autotools