commit:     df709aa96619b7ca5247a47ce9d06df914355879
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 19:12:53 2016 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 21:04:09 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=df709aa9

sci-astronomy/scamp: fixed atlas detection and curl dependency

 sci-astronomy/scamp/scamp-9999.ebuild | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/sci-astronomy/scamp/scamp-9999.ebuild 
b/sci-astronomy/scamp/scamp-9999.ebuild
index 0964de7..8b07c7a 100644
--- a/sci-astronomy/scamp/scamp-9999.ebuild
+++ b/sci-astronomy/scamp/scamp-9999.ebuild
@@ -19,7 +19,7 @@ SLOT="0"
 IUSE="doc plplot threads"
 
 RDEPEND="
-       >=sci-astronomy/cdsclient-3.4
+       net-misc/curl:=
        sci-libs/atlas[lapack,threads=]
        sci-libs/fftw:3.0
        plplot? ( sci-libs/plplot:= )"
@@ -34,13 +34,10 @@ src_prepare() {
                [[ -e "${EPREFIX}"/usr/$(get_libdir)/libptclapack.so ]] && \
                        myclapack=ptclapack
        fi
-       sed -i \
-               -e "s/-lcblas/-l${mycblas}/g" \
-               -e "s/AC_CHECK_LIB(cblas/AC_CHECK_LIB(${mycblas}/g" \
-               -e "s/-llapack/-l${myclapack}/g" \
-               -e "s/\(lapack_lib=\).*/\1${myclapack}/g" \
-               -e "s/AC_CHECK_LIB(lapack/AC_CHECK_LIB(${myclapack}/g" \
-               acx_atlas.m4 || die
+       sed -e "s/-lcblas/-l${mycblas}/g"\
+               -e "/SEARCH_LIBS/s/ cblas,/${mycblas},/g" \
+               -e "/SEARCH_LIBS/s/lapack_atlas/${myclapack}/g" \
+               -i acx_atlas.m4 || die
        eautoreconf
        subversion_src_prepare
 }

Reply via email to