summaryrefslogtreecommitdiff
path: root/libre/tokyocabinet/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/tokyocabinet/PKGBUILD')
-rw-r--r--libre/tokyocabinet/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/libre/tokyocabinet/PKGBUILD b/libre/tokyocabinet/PKGBUILD
index 7b3a55c80..1add6c535 100644
--- a/libre/tokyocabinet/PKGBUILD
+++ b/libre/tokyocabinet/PKGBUILD
@@ -3,9 +3,9 @@
pkgname=tokyocabinet
pkgver=1.4.48
-pkgrel=1
+pkgrel=2
pkgdesc="a modern implementation of DBM"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://fallabs.com/tokyocabinet/"
license=('LGPL')
makedepends=('gcc>=3.1' 'make' 'pkgconfig')
@@ -15,7 +15,10 @@ md5sums=('fd03df6965f8f56dd5b8518ca43b4f5e')
build() {
cd "$srcdir/$pkgname-$pkgver"
- ./configure --prefix=/usr --enable-off64 --enable-fastest
+
+ [ "$CARCH" != "mips64el" ] && extra=--enable-fastest
+
+ ./configure --prefix=/usr --enable-off64 $extra
make
}