summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntop/ntop_5.0.1.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-22 21:03:35 -0800
committerKhem Raj <raj.khem@gmail.com>2020-01-22 21:30:45 -0800
commite9014dfd0c35c499ac2c83a0ae147f98ec00b175 (patch)
tree5a2a78c370bf8a0dc2923baac417e97e3c0ad75b /meta-networking/recipes-support/ntop/ntop_5.0.1.bb
parente4a2593a2193922ef23e62d43affe15b50d825d7 (diff)
downloadmeta-openembedded-e9014dfd0c35c499ac2c83a0ae147f98ec00b175.tar.gz
ntop: Pass 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 Ensure that linking with libpython happens therefore use python3-config --libs --embed 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@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/ntop/ntop_5.0.1.bb')
-rw-r--r--meta-networking/recipes-support/ntop/ntop_5.0.1.bb3
1 files changed, 2 insertions, 1 deletions
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 2d37969a7..d835e399b 100644
--- a/meta-networking/recipes-support/ntop/ntop_5.0.1.bb
+++ b/meta-networking/recipes-support/ntop/ntop_5.0.1.bb
@@ -19,6 +19,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/ntop/ntop-${PV}.tar.gz \
19 file://0001-nDPI-Include-sys-types.h.patch \ 19 file://0001-nDPI-Include-sys-types.h.patch \
20 file://0001-plugins-Makefile.am-fix-for-automake-1.16.1.patch \ 20 file://0001-plugins-Makefile.am-fix-for-automake-1.16.1.patch \
21 file://fix-missing-return-from-non-void-function.patch \ 21 file://fix-missing-return-from-non-void-function.patch \
22 file://embed-libs.patch \
22 " 23 "
23SRC_URI[md5sum] = "01710b6925a8a5ffe1a41b8b512ebd69" 24SRC_URI[md5sum] = "01710b6925a8a5ffe1a41b8b512ebd69"
24SRC_URI[sha256sum] = "7e8e84cb14d2173beaca4d4cb991a14d84a4bef84ec37b2276bc363f45c52ef8" 25SRC_URI[sha256sum] = "7e8e84cb14d2173beaca4d4cb991a14d84a4bef84ec37b2276bc363f45c52ef8"
@@ -35,7 +36,7 @@ PACKAGECONFIG[snmp] = "--enable-snmp=yes NETSNMP=${STAGING_BINDIR_CROSS}/net-snm
35--disable-snmp,net-snmp," 36--disable-snmp,net-snmp,"
36PACKAGECONFIG[plugins] = "--enable-plugins=yes, --disable-plugins, ," 37PACKAGECONFIG[plugins] = "--enable-plugins=yes, --disable-plugins, ,"
37 38
38EXTRA_OECONF += "ac_cv_file_aclocal_m4=yes ac_cv_file_depcomp=no" 39EXTRA_OECONF += "ac_cv_file_aclocal_m4=yes ac_cv_file_depcomp=no PYTHON_CONFIG=python3-config"
39 40
40do_configure() { 41do_configure() {
41 cp ${STAGING_DATADIR_NATIVE}/aclocal/libtool.m4 libtool.m4.in 42 cp ${STAGING_DATADIR_NATIVE}/aclocal/libtool.m4 libtool.m4.in