@@ -32,9 +32,9 @@ PACKAGECONFIG ??= " \
"
PACKAGECONFIG[python] = "--enable-python=yes \
-am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \
-am_cv_python_pyexecdir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages,\
---disable-python,python,"
+am_cv_python_pythondir=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages \
+am_cv_python_pyexecdir=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages,\
+--disable-python,python3,"
PACKAGECONFIG[perl] = \
"--enable-perl=yes --with-perl-options='INSTALLDIRS="vendor" CCFLAGS="${CFLAGS}" NO_PACKLIST=1 NO_PERLLOCAL=1' \
@@ -80,7 +80,7 @@ do_configure() {
#python
sed -i -e '/PYTHON_INCLUDES="-I${/c \
- PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
+ PYTHON_INCLUDES="-I=/usr/include/${PYTHON_DIR}"' \
${S}/m4/acinclude.m4
#remove the useless RPATH from the rrdtool.so
sed -i -e 's|LD_RUN_PATH=$(libdir)||g' ${S}/bindings/Makefile.am
PYTHON_DIR now contains PYTHON_ABI. Use it for the correct library path, include and site-packages locations. Fixed runtime dependency for PACKAGECONFIG[python]. Note that there is an issue with the python module: ERROR: rrdtool-1.9.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.14t/site-packages/rrdtool.cpython-314t-x86_64-linux-gnu.so in package rrdtool-python contains reference to TMPDIR [buildpaths] Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> --- meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)