summaryrefslogtreecommitdiff
path: root/libre/tokyocabinet
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-12-03 18:21:30 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-12-03 18:21:30 +0100
commit7da2c7104bf0b90ad700b6fe3e99284802106cbe (patch)
tree2fa8446d6ca658e8365fe821603aba20db661c4c /libre/tokyocabinet
parentd88edb002d66fe2b8d9f48c4ea5cb39314c2c39e (diff)
Fix tokyocabinet mips64el build, not released due to a bus error.
Diffstat (limited to 'libre/tokyocabinet')
-rwxr-xr-xlibre/tokyocabinet/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/libre/tokyocabinet/PKGBUILD b/libre/tokyocabinet/PKGBUILD
index 7eb52ed6e..1add6c535 100755
--- a/libre/tokyocabinet/PKGBUILD
+++ b/libre/tokyocabinet/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=tokyocabinet
pkgver=1.4.48
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
}