summaryrefslogtreecommitdiff
path: root/community/botan/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/botan/PKGBUILD')
-rw-r--r--community/botan/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/botan/PKGBUILD b/community/botan/PKGBUILD
index cba820be1..a8e63da39 100644
--- a/community/botan/PKGBUILD
+++ b/community/botan/PKGBUILD
@@ -9,7 +9,7 @@ pkgver=1.10.7
pkgrel=1
pkgdesc='Crypto library written in C++'
license=('BSD')
-arch=('x86_64' 'i686')
+arch=('x86_64' 'i686' 'mips64el')
url='http://botan.randombit.net/'
depends=('gcc-libs' 'sh')
makedepends=('python2')
@@ -19,6 +19,8 @@ sha256sums=('19f79ae670cb2ea7c290244ff6ff564ce74b45d8845af52787a30c646e16324d')
build() {
cd "Botan-$pkgver"
+ sed -i 's:env python:env python2:' configure.py
+ sed -i 's/mabi=64/mabi=n32/g' src/build-data/cc/gcc.txt
python2 configure.py --prefix=/usr
make
}