diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index d3342dda925..48bcc646077 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -11,7 +11,7 @@ configure_args="--enable-shared --enable-ipv6 --enable-optimizations --with-dbmliborder=gdbm:ndbm --with-system-expat --with-system-ffi --without-ensurepip ac_cv_working_tzset=yes" pycompile_dirs="usr/lib/python${version%.*}" -hostmakedepends="pkgconf" +hostmakedepends="pkgconf autoconf-archive automake" makedepends="libffi-devel readline-devel gdbm-devel openssl-devel expat-devel sqlite-devel bzip2-devel zlib-devel liblzma-devel" depends="ca-certificates" @@ -64,6 +64,11 @@ post_patch() { fi } +# https://github.com/python/cpython/issues/89640 +pre_configure() { + autoreconf -vfi +} + do_configure() { # If these are set, distutils will default to cc and attempt to pass # `-R` to the compiler for every compiled extension that sets an