guitarix: pass bindir/libdir explicitly without magic / fix warning

| WARNING: guitarix-0.39.0-r0 do_configure: Unable to execute waf --version, exit code 127. Assuming waf version without bindir/libdir support.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-02-12 20:32:28 +01:00
parent 1656bb809a
commit 63a1f0b0cc

View File

@@ -31,6 +31,8 @@ PACKAGECONFIG[bluez] = ",--no-bluez,bluez5"
EXTRA_OECONF = " \
--disable-sse \
--bindir=${bindir} \
--libdir=${libdir} \
--ldflags="${LDFLAGS}" \
--no-ldconfig \
--no-desktop-update \
@@ -39,6 +41,9 @@ EXTRA_OECONF = " \
--install-roboto-font \
"
python waf_preconfigure() {
}
do_configure_prepend() {
sed -i 's:/usr/bin/env python:/usr/bin/env python3:' `grep -rl '/usr/bin/env python$' ${S}`
}