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"