diff --git a/srcpkgs/python/template b/srcpkgs/python/template index 21739fcd4ff..99d9642e998 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -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