python: rebuild with libxcrypt

This commit is contained in:
oreo639 2023-08-07 23:33:23 -07:00 committed by classabbyamp
parent 448a4f7bc4
commit 501d755330

View file

@ -4,7 +4,7 @@
#
pkgname=python
version=2.7.18.7
revision=4
revision=5
_commit=937f6fc83dc2f7f7156f69c993bc017a26e4f5bd
pycompile_dirs="usr/lib/python2.7"
hostmakedepends="pkg-config"
@ -25,6 +25,10 @@ alternatives="
python:python:/usr/bin/python2.7
python:python.1:/usr/share/man/man1/python2.7.1"
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