summaryrefslogtreecommitdiff
path: root/extra/vigra
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-11-01 13:22:23 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2011-11-01 13:22:23 +0100
commite964900e404c5e19f3baf3354ce7a6f934f12628 (patch)
tree51a0943fd2943ed3f40c47ea08b2a89c59b32a3e /extra/vigra
parente7354877248edca198b0f359567350a80749cc1c (diff)
Fix vigra python vs python2 problems.
Diffstat (limited to 'extra/vigra')
-rw-r--r--extra/vigra/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/vigra/PKGBUILD b/extra/vigra/PKGBUILD
index 87b38c68e..b2e124f72 100644
--- a/extra/vigra/PKGBUILD
+++ b/extra/vigra/PKGBUILD
@@ -12,7 +12,7 @@ license=('custom:MIT')
makedepends=(# runtime deps
'libpng' 'libtiff' 'gcc-libs' 'sh' 'hdf5>=1.8.7' 'fftw'
# additional makedeps
- 'cmake' 'python-nose' 'doxygen' 'python-sphinx' 'boost' 'python-numpy')
+ 'cmake' 'python2-nose' 'doxygen' 'python-sphinx' 'boost' 'python2-numpy')
options=('!libtool')
source=(http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/${pkgname}-${pkgver}-src.tar.gz
vigra-1.7.1.gcc460.patch)
@@ -26,6 +26,7 @@ build() {
patch -Np1 -i ${srcdir}/vigra-1.7.1.gcc460.patch
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_VIGRANUMPY=1 \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
-DDOCINSTALL=share/doc
make
}