Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-07-16 16:27:52 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2018-07-16 16:27:52 +0000
commit63fb841721b772008d15aa10e9b0a4f4afe06b56 (patch)
tree400917c66777434fe13df3c10615b1f023968cb7 /core
parentbd945390486e175182221eedf6b96440504c1826 (diff)
core/pacman: added i486-specific patches
Diffstat (limited to 'core')
-rw-r--r--core/pacman/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
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