aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/numpy/numpy-1.0.ebuild')
-rw-r--r--dev-python/numpy/numpy-1.0.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-python/numpy/numpy-1.0.ebuild b/dev-python/numpy/numpy-1.0.ebuild
index 489f7ab50..93686ee90 100644
--- a/dev-python/numpy/numpy-1.0.ebuild
+++ b/dev-python/numpy/numpy-1.0.ebuild
@@ -43,9 +43,6 @@ src_unpack() {
else
echo "/usr/$(get_libdir)/blas/atlas" >> site.cfg
fi
- else
- rm -f site.cfg
- export ATLAS=None
fi
}
@@ -53,6 +50,12 @@ src_compile() {
# http://projects.scipy.org/scipy/numpy/ticket/182
# Can't set LDFLAGS
unset LDFLAGS
+ if !(use lapack); then
+ rm -f site.cfg
+ export BLAS=None
+ export LAPACK=None
+ export ATLAS=None
+ fi
distutils_src_compile
}