summaryrefslogtreecommitdiff
path: root/extra/ffcall/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ffcall/PKGBUILD')
-rw-r--r--extra/ffcall/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/ffcall/PKGBUILD b/extra/ffcall/PKGBUILD
index 4df7eaa7c..f51867990 100644
--- a/extra/ffcall/PKGBUILD
+++ b/extra/ffcall/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=ffcall
pkgver=1.10
pkgrel=4
pkgdesc="C library for implementing foreign function calls in embedded interpreters"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/libffcall/"
license=('GPL2')
options=('!libtool' '!makeflags')
@@ -18,6 +18,7 @@ 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
patch -Np0 -i $srcdir/mipsn32.patch