[oe-commits] Martin Jansa : azy: simplify do_configure

git at git.openembedded.org git at git.openembedded.org
Sun Dec 16 21:32:36 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 833d36faf08ab08a1715e4a3094994aba8a2bd39
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=833d36faf08ab08a1715e4a3094994aba8a2bd39

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Sun Dec 16 21:03:06 2012 +0100

azy: simplify do_configure

* probably because of
  http://git.openembedded.org/bitbake/commit/?id=9fc98f96f0e0320beda0ce9546275a99336732c1
  it now failed with
  /OE/jansa-test/shr-core/tmp-eglibc/work/x86_64-linux/azy-native/2_1.0.0+svnr80969-r0/temp/run.do_configure.30731: line 88: efl_do_configure: command not found
  ERROR: Function failed: do_configure (see /OE/jansa-test/shr-core/tmp-eglibc/work/x86_64-linux/azy-native/2_1.0.0+svnr80969-r0/temp/log.do_configure.30731 for further information)

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-efl/recipes-efl/efl/azy_svn.bb |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/meta-efl/recipes-efl/efl/azy_svn.bb b/meta-efl/recipes-efl/efl/azy_svn.bb
index a7889d6..43f9b7d 100644
--- a/meta-efl/recipes-efl/efl/azy_svn.bb
+++ b/meta-efl/recipes-efl/efl/azy_svn.bb
@@ -5,6 +5,8 @@ LICENSE = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 PV = "1.0.0+svnr${SRCPV}"
+PR = "r1"
+
 SRCREV = "${EFL_SRCREV}"
 
 # to provide native lemon binary
@@ -12,14 +14,10 @@ BBCLASSEXTEND = "native"
 
 EXTRA_OECONF += " --disable-mysql-tests"
 
-do_configure_class-target() {
+do_configure_prepend_class-target() {
   sed -i "s#\./lemon#${STAGING_BINDIR_NATIVE}/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
-  efl_do_configure
-}
-do_configure_class-native() {
-  efl_do_configure
 }
 
 do_install_append_class-native() {





More information about the Openembedded-commits mailing list