From 9f43a6fa51e494c2f5430a37e9fd243f3c71fc1b Mon Sep 17 00:00:00 2001 From: J Farkas Date: Wed, 3 Jan 2024 23:28:15 +0100 Subject: [PATCH] python-tkinter: glibc build requires libxcrypt-devel Like python3-tkinter, python-tkinter no longer builds correctly since the libxcrypt separation --- srcpkgs/python-tkinter/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/python-tkinter/template b/srcpkgs/python-tkinter/template index 35c2c102b73c09..1f6c0d0ce627d7 100644 --- a/srcpkgs/python-tkinter/template +++ b/srcpkgs/python-tkinter/template @@ -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