summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-29 16:30:02 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-29 16:30:02 -0300
commitc6ead99bc92bd2b6da3e78e9cba5a8a86764de10 (patch)
tree016763631bb09cf1669bec74f2cd63cb9b566c13 /extra
parent006ef9039d157be6e5f6074155820e7ea860152d (diff)
ffcall: add patch (see issue270)
Diffstat (limited to 'extra')
-rw-r--r--extra/ffcall/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/ffcall/PKGBUILD b/extra/ffcall/PKGBUILD
index f51867990..e727b0dcd 100644
--- a/extra/ffcall/PKGBUILD
+++ b/extra/ffcall/PKGBUILD
@@ -18,10 +18,12 @@ md5sums=('2db95007e901f3bc2ae7e5a9fe9ebea4'
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
[ "$CARCH" = "x86_64" ] && CONFIGFLAG="--with-pic"
- patch -Np0 -i "$srcdir/mipsn32.patch"
- ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG
+ [ "$CARCH" = "mips64el" ] && {
+ CONFIGFLAG="--with-pic"
+ patch -Np0 -i "$srcdir/mipsn32.patch"
+ }
- patch -Np0 -i $srcdir/mipsn32.patch
+ ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGFLAG
make
}