diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index c537ba674bd..89eea72ef70 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -4,7 +4,7 @@ # pkgname=python3 version=3.12.1 -revision=1 +revision=2 build_style="gnu-configure" configure_args="--enable-shared --enable-ipv6 --enable-optimizations --enable-loadable-sqlite-extensions --with-computed-gotos @@ -36,6 +36,10 @@ alternatives=" python:python:/usr/bin/python${version%.*} python:python.1:/usr/share/man/man1/python${version%.*}.1" +if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + makedepends+=" libxcrypt-devel" +fi + if [ "$CROSS_BUILD" ]; then hostmakedepends+=" python3" configure_args+=" --with-build-python=python${py3_ver}"