rrdtool: upgrade 1.8.0 -> 1.9.0

* remove b76e3c578f1e9f582e9c28f50d82b1f569602075.patch, already in
  1.9.0
* set AUTOTOOLS_AUXDIR
Upstream commit [99275bf1 Remove autogenerated files] remove aux dir
conftools, which causes do_configure failed with error:
error: required file 'conftools/config.rpath' not found
set the correct AUTOTOOLS_AUXDIR to fix it.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Changqing Li 2025-03-12 08:59:48 +08:00 committed by Khem Raj
parent 71cadd0771
commit 5d2c9b92f9
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 8 additions and 1586 deletions

View File

@ -6,12 +6,11 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39df84cfd8a5e18bf988f277f7946676"
DEPENDS = "libpng zlib glib-2.0 libxml2 groff-native python3-setuptools-native"
SRCREV = "3af04acd38bbc61bbdcdd931dcf234c971aa5336"
PV = "1.8.0"
SRCREV = "522b228d74da7054594b6ed9c289058acd6cd3e7"
PV = "1.9.0"
SRC_URI = "\
git://github.com/oetiker/rrdtool-1.x.git;protocol=https;branch=master \
file://b76e3c578f1e9f582e9c28f50d82b1f569602075.patch \
"
S = "${WORKDIR}/git"
@ -23,6 +22,8 @@ BBCLASSEXTEND = "native"
SYSTEMD_PACKAGES = "rrdcached"
SYSTEMD_SERVICE:rrdcached = "rrdcached.socket rrdcached.service"
AUTOTOOLS_AUXDIR = "${S}/conftools"
EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"
PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
@ -63,6 +64,10 @@ export STAGING_INCDIR
EXTRA_OEMAKE = ' CC="${CC} -Wno-incompatible-pointer-types" PERL5LIB="${PERL_ARCHLIB}" '
# Avoid do_configure error on some hosts
do_configure:prepend () {
mkdir -p ${AUTOTOOLS_AUXDIR}
}
do_configure() {
unset PERLHOSTLIB
#fix the pkglib problem with newer automake