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 13:34:45 +0200
committerErich Eckner <git@eckner.net>2019-05-15 13:34:45 +0200
commit7db15705549c05272566b12b30a7906996d8f969 (patch)
tree72c88d8b589f03b8b6fce3f1b46cd9919143040a
parent2bc3cd728f07326f68bcb0ed2feff004dbb1f9e4 (diff)
community/fpc: there is not only "i686"
-rw-r--r--community/fpc/PKGBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/community/fpc/PKGBUILD b/community/fpc/PKGBUILD
index 49c09c9c..4e121deb 100644
--- a/community/fpc/PKGBUILD
+++ b/community/fpc/PKGBUILD
@@ -8,8 +8,15 @@
eval "$(
declare -f package | \
sed '
- s@"\$CARCH" = "x86_64"@"$CARCH" = "i686"@g
- s@ppcx64@ppc386@g
+ /"\$CARCH" = "x86_64"/ {
+ p
+ s@ppcx64@ppc386@g
+ s@x86_64@i686@
+ p
+ s@i686@i486@
+ p
+ s@i486@pentium4@
+ }
s@NOGDB=1@NOGDB=1 PP=/usr/lib/fpc/$pkgver/ppc386 @
'
declare -f build | \