--- scipy-20071020-0.6.p2/spkg-install.orig 2008-01-03 19:34:39.000000000 +1300 +++ scipy-20071020-0.6.p2/spkg-install 2008-01-03 19:36:13.000000000 +1300 @@ -10,19 +10,13 @@ unset CFLAGS LDFLAGS CXXFLAGS SHAREDFLAGS -if [ `uname` = "Darwin" ]; then - unset ATLAS - unset BLAS - unset LAPACK -else - ATLAS="$SAGE_LOCAL" - export ATLAS - BLAS="$SAGE_LOCAL" - export BLAS - LAPACK="$SAGE_LOCAL" - export LAPACK -fi - +# Settings for Gentoo external atlas +ATLAS="/usr/lib/blas/atlas" +export ATLAS +BLAS="/usr/lib/blas/atlas" +export BLAS +LAPACK="/usr/lib/lapack/atlas" +export LAPACK # This avoid problems on some systems -- until we officially # support umfpack (which we will likely do, since cvxopt @@ -39,9 +33,9 @@ if [ $? -ne 0 ]; then echo "Error patching setup.py" exit 1 -fi +fi -# Build +# Build python setup.py build if [ $? -ne 0 ]; then echo "Error building scipy."