python-tkinter: glibc build requires libxcrypt-devel

Like python3-tkinter, python-tkinter no longer builds correctly since the libxcrypt separation
This commit is contained in:
J Farkas 2024-01-03 23:28:15 +01:00 committed by classabbyamp
parent 4671a653eb
commit 93a2aeffa3

View File

@ -21,6 +21,10 @@ homepage="https://www.python.org"
distfiles="https://github.com/ActiveState/cpython/archive/${_commit}.tar.gz"
checksum=e41b3ebac8ac7b7e3364c7f28892f81153d23dd200ef6aaacec82080aa5d2b56
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
pre_configure() {
# Ensure that internal copies of expat, libffi and zlib are not used.
rm -r Modules/expat