From 501d7553308d6bd5c33a015ecc83ffe86df6037c Mon Sep 17 00:00:00 2001 From: oreo639 Date: Mon, 7 Aug 2023 23:33:23 -0700 Subject: [PATCH] python: rebuild with libxcrypt --- srcpkgs/python/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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