From 6e4c15cc9f2c28f139f50a18407f466c7ab4bf5c Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Fri, 24 Sep 2021 23:18:08 -0400 Subject: [PATCH] rrdtool: rebuild for Python 3.10 --- srcpkgs/rrdtool/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/rrdtool/template b/srcpkgs/rrdtool/template index c8f93b6413..53d8b08aef 100644 --- a/srcpkgs/rrdtool/template +++ b/srcpkgs/rrdtool/template @@ -1,12 +1,15 @@ # Template file for 'rrdtool' pkgname=rrdtool version=1.7.2 -revision=9 +revision=10 build_style=gnu-configure +# configure checks sys.version[:3] for Python versioning, so 3.10 becomes 3.1; +# until this is fixed upstream, manually define am_cv_python_version to circumvent configure_args="--enable-perl --enable-perl-site-install --with-perl-options=INSTALLDIRS=vendor --enable-ruby --enable-ruby-site-install --enable-python --enable-lua - --enable-lua-site-install --enable-tcl --disable-libwrap" + --enable-lua-site-install --enable-tcl --disable-libwrap + am_cv_python_version=${py3_ver}" hostmakedepends="pkg-config groff intltool python3-setuptools perl-XML-Parser" makedepends="libxml2-devel pango-devel python3-devel ruby-devel LuaJIT-devel perl" depends="dejavu-fonts-ttf"