Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 | \