From da818a494ef3e949e9cd903e94cda141e98f2246 Mon Sep 17 00:00:00 2001 From: oreo639 Date: Mon, 7 Aug 2023 23:42:25 -0700 Subject: [PATCH] python3: rebuild for libxcrypt --- srcpkgs/python3/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}"