From 7fb0b8b8192a5901b675c24ce5d363cc8c73befb Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 27 Feb 2023 16:27:36 +0100 Subject: core/brotli: patch CARCH for python tests --- core/brotli/PKGBUILD | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 core/brotli/PKGBUILD (limited to 'core') diff --git a/core/brotli/PKGBUILD b/core/brotli/PKGBUILD new file mode 100644 index 00000000..a2e290e0 --- /dev/null +++ b/core/brotli/PKGBUILD @@ -0,0 +1,9 @@ +if [ ! "${CARCH}" = "i686" ]; then + # patch architecture where needed + eval "$( + declare -f check | \ + sed ' + /PYTHONPATH=.*/s/$CARCH/i686/ + ' + )" +fi -- cgit v1.2.3-54-g00ecf