From 63fb841721b772008d15aa10e9b0a4f4afe06b56 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 16 Jul 2018 16:27:52 +0000 Subject: core/pacman: added i486-specific patches --- core/pacman/PKGBUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD index d85824e6..e76f402c 100644 --- a/core/pacman/PKGBUILD +++ b/core/pacman/PKGBUILD @@ -9,3 +9,15 @@ fi if [ "${sha256sums[5]}" = '650ddad24cad6afc4aecb4829cb8f06b9acb70c10a44f756fe8bd279949b518e' ]; then sha256sums[5]='d1c3e5f9b7259e401ab121aff335531452d23dc67d9e6c2f464771d25f11058a' fi + +# i486-specific +if [ "${CARCH}" = "i486" ]; then + # patch architecture where needed + eval "$( + declare -f package | \ + sed ' + /install.*makepkg.conf/ a \ + sed -i "s@i686@i486@g" "$pkgdir/etc/makepkg.conf" + ' + )" +fi -- cgit v1.2.3-70-g09d2