Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-15 20:41:55 +0200
committerErich Eckner <git@eckner.net>2019-05-15 20:41:55 +0200
commitd7c5cb50122685e66d049082862c4b755aae5469 (patch)
treed3610b1064312e5b9226e78565c13d11d40719db
parent7db15705549c05272566b12b30a7906996d8f969 (diff)
core/pacman: makepkg.conf for pentium4 should have CHOST="i686-pc-linux-gnu" instead of CHOST="pentium4-pc-linux-gnu" (see e.g. also devtools32)
-rw-r--r--core/pacman/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD
index db947008..b99fa6d3 100644
--- a/core/pacman/PKGBUILD
+++ b/core/pacman/PKGBUILD
@@ -18,7 +18,7 @@ if [ ! "${CARCH}" = "i686" ]; then
declare -f package | \
sed '
/install.*makepkg.conf/ a \
- sed -i "s@i686@'"${CARCH}"'@g" "$pkgdir/etc/makepkg.conf"
+ sed -i "s@i686@'"${CARCH}"'@g; /^CHOST/ s/pentium4-/i686-/" "$pkgdir/etc/makepkg.conf"
'
)"
fi