summaryrefslogtreecommitdiff
path: root/extra/lensfun
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-10-17 16:20:37 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-10-17 16:20:37 -0500
commitbfd28bf00d57c71feef0143d806129b3202e6add (patch)
tree301fd65c4c3ae986fe20f446ce0410c34e7fe6e1 /extra/lensfun
parentc89ca32bf927501c47242042d50cca6a71bcfbcc (diff)
Disable vectorization in configure to lensfun
Diffstat (limited to 'extra/lensfun')
-rw-r--r--extra/lensfun/PKGBUILD7
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
}