Patchwork [meta-oe,06/10] azy: rename lemon provided by azy-native to azy_lemon

login
register
mail settings
Submitter Martin Jansa
Date Dec. 18, 2012, 4:55 p.m.
Message ID <d0d3977290c706f4b71d1a3228df889288583c8e.1355849280.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/41283/
State Accepted
Commit d0d3977290c706f4b71d1a3228df889288583c8e
Headers show

Comments

Martin Jansa - Dec. 18, 2012, 4:55 p.m.
* meta-openembedded/meta-oe/recipes-devtools/lemon/lemon_3.5.4.bb provides almost the same lemon
  but lemon.c in azy sources is a bit modified (and completely reformatted :/)

* rename it to resolve:
  WARNING: The recipe azy-native is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
   /OE/jansa-test/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/lemon
   Matched in manifest-x86_64-lemon-native

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-efl/recipes-efl/efl/azy_svn.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta-efl/recipes-efl/efl/azy_svn.bb b/meta-efl/recipes-efl/efl/azy_svn.bb
index 43f9b7d..8082196 100644
--- a/meta-efl/recipes-efl/efl/azy_svn.bb
+++ b/meta-efl/recipes-efl/efl/azy_svn.bb
@@ -5,7 +5,7 @@  LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 PV = "1.0.0+svnr${SRCPV}"
-PR = "r1"
+PR = "r2"
 
 SRCREV = "${EFL_SRCREV}"
 
@@ -15,14 +15,14 @@  BBCLASSEXTEND = "native"
 EXTRA_OECONF += " --disable-mysql-tests"
 
 do_configure_prepend_class-target() {
-  sed -i "s#\./lemon#${STAGING_BINDIR_NATIVE}/lemon#g" ${S}/src/bin/Makefile.am
+  sed -i "s#\./lemon#${STAGING_BINDIR_NATIVE}/azy_lemon#g" ${S}/src/bin/Makefile.am
   sed -i "s#\$(top_builddir)/src/bin/azy_parser -H -p -o#${STAGING_BINDIR_NATIVE}/azy_parser -H -p -o#g" ${S}/src/tests/Makefile.am
   sed -i "s#\$(top_builddir)/src/bin/azy_parser -eHn -m#${STAGING_BINDIR_NATIVE}/azy_parser -eHn -m#g" ${S}/src/tests/identi.ca/Makefile.am
 }
 
 do_install_append_class-native() {
   install -d ${D}/${bindir}
-  install -m 0755 ${S}/src/bin/lemon ${D}/${bindir}
+  install -m 0755 ${S}/src/bin/lemon ${D}/${bindir}/azy_lemon
 }
 
 inherit efl