[oe-commits] [meta-openembedded] 04/11: a2jmidid: Define own do_configure

git at git.openembedded.org git at git.openembedded.org
Tue Dec 4 18:01:19 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 04df72ad372d7148068d731a306806537a8d195b
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Dec 3 12:09:11 2018 -0800

    a2jmidid: Define own do_configure
    
    waf script here does not support -o switch so define own which can
    be run in B
    
    Secondly, ensure to use python2
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-multimedia/jack/a2jmidid_8.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb
index 59b73f8..7dcaaf6 100644
--- a/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb
+++ b/meta-oe/recipes-multimedia/jack/a2jmidid_8.bb
@@ -23,4 +23,9 @@ LDFLAGS_append_libc-musl = " -lexecinfo"
 
 export LINKFLAGS="${LDFLAGS}"
 
+do_configure() {
+    sed -i 's|/usr/bin/.*python$|/usr/bin/env python2|' ${S}/a2j_control ${S}/waf ${S}/wscript
+    (cd ${B} && ${S}/waf configure --prefix=${prefix} ${WAF_EXTRA_CONF} ${EXTRA_OECONF})
+}
+
 FILES_${PN} += "${datadir}/dbus-1/services"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list