diff options
-rw-r--r-- | extra/lensfun/PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/lensfun/PKGBUILD b/extra/lensfun/PKGBUILD index 26f968659..b0a300d7d 100644 --- a/extra/lensfun/PKGBUILD +++ b/extra/lensfun/PKGBUILD @@ -14,10 +14,15 @@ source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2") build() { cd "${srcdir}/${pkgname}-${pkgver}" + if [ "$CARCH" = "mips64el" ]; then + confflags="--vectorization=" + else + confflags="" + fi sed -i 's|#!/usr/bin/python|#!/usr/bin/python2|' configure ./configure \ --prefix=/usr \ - --libdir=/usr/lib + --libdir=/usr/lib ${confflags} make all } |