[oe-commits] [meta-openembedded] branch master-next updated: ntop: Pass PYTHON and PYTHON_CONFIG to configure
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 23 05:08:01 UTC 2020
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
The following commit(s) were added to refs/heads/master-next by this push:
new 562ba8d ntop: Pass PYTHON and PYTHON_CONFIG to configure
562ba8d is described below
commit 562ba8d59336aff8da8b8ebc7f1d1dc2e898c275
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed Jan 22 21:03:35 2020 -0800
ntop: Pass PYTHON and PYTHON_CONFIG to configure
This aids cross-building, otherwise configure goes into weeks to find
these especially python-config and starts to poke at host files e.g.
if /etc/debian_release exists then it errors out, but if it does not
then it deploys a workaround and continues build, as a result we see
ntop fail the build on debian-like build hosts but not on others eg.
archlinux
Fixes
checking for arm-yoe-linux-gnueabi-python-config... no
checking for python-config... no
Please install python-dev and rerun configure
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-networking/recipes-support/ntop/ntop_5.0.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-networking/recipes-support/ntop/ntop_5.0.1.bb b/meta-networking/recipes-support/ntop/ntop_5.0.1.bb
index 2d37969..f06e2dc 100644
--- a/meta-networking/recipes-support/ntop/ntop_5.0.1.bb
+++ b/meta-networking/recipes-support/ntop/ntop_5.0.1.bb
@@ -37,6 +37,8 @@ PACKAGECONFIG[plugins] = "--enable-plugins=yes, --disable-plugins, ,"
EXTRA_OECONF += "ac_cv_file_aclocal_m4=yes ac_cv_file_depcomp=no"
+CONFIGUREOPTS += "PYTHON=python3 PYTHON_CONFIG=python3-config"
+
do_configure() {
cp ${STAGING_DATADIR_NATIVE}/aclocal/libtool.m4 libtool.m4.in
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list