bicatali 14/04/17 16:02:52 Modified: octave-3.8.1-r1.ebuild ChangeLog Log: Removed checking of symbols in linear algebra libraries bug #507782 (Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Revision Changes Path 1.3 sci-mathematics/octave/octave-3.8.1-r1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.8.1-r1.ebuild?rev=1.3&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.8.1-r1.ebuild?rev=1.3&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/octave-3.8.1-r1.ebuild?r1=1.2&r2=1.3 Index: octave-3.8.1-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.8.1-r1.ebuild,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- octave-3.8.1-r1.ebuild 16 Apr 2014 15:51:09 -0000 1.2 +++ octave-3.8.1-r1.ebuild 17 Apr 2014 16:02:52 -0000 1.3 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.8.1-r1.ebuild,v 1.2 2014/04/16 15:51:09 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/octave-3.8.1-r1.ebuild,v 1.3 2014/04/17 16:02:52 bicatali Exp $ EAPI=5 @@ -78,38 +78,6 @@ "${FILESDIR}"/${PN}-3.8.1-pkgbuilddir.patch ) -pkg_pretend() { - # do we really need this test? it looks a deficiency of our framework - if use qrupdate || use sparse; then - local blaslib=$($(tc-getPKG_CONFIG) --libs-only-l blas \ - | sed -e 's@-l\([^ \t]*\)@lib\1@' | cut -d' ' -f 1) - einfo "Checking linear algebra dependencies for ${blaslib}" - local libdir="${EROOT%/}/usr/$(get_libdir)" - local lib failed_libs libs=( ) - use qrupdate && libs+=( "${libdir}"/libqrupdate.so ) - use sparse && libs+=( - "${libdir}"/libarpack.so - "${libdir}"/libcholmod.so - "${libdir}"/libumfpack.so - ) - for lib in ${libs[@]}; do - # linked with the current blas? - if ! scanelf -n ${lib} | grep -q "${blaslib}"; then - # linked with some blas or lapack library? - if ! scanelf -n ${lib} | egrep -q "blas|lapack"; then - failed_libs="${failed_libs} ${lib}" - fi - fi - done - if [[ -n ${failed_libs} ]]; then - eerror "${failed_libs} must be rebuilt with ${blaslib}" - eerror "Try re-installing ${failed_libs}" - die "check of blas/lapack consistency failed" - fi - fi - -} - src_prepare() { # nasty prefix hacks for fltk:1 and qt4 linking if use prefix; then 1.165 sci-mathematics/octave/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.165&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?rev=1.165&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/ChangeLog?r1=1.164&r2=1.165 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v retrieving revision 1.164 retrieving revision 1.165 diff -u -r1.164 -r1.165 --- ChangeLog 16 Apr 2014 15:51:09 -0000 1.164 +++ ChangeLog 17 Apr 2014 16:02:52 -0000 1.165 @@ -1,6 +1,9 @@ # ChangeLog for sci-mathematics/octave # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.164 2014/04/16 15:51:09 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/octave/ChangeLog,v 1.165 2014/04/17 16:02:52 bicatali Exp $ + + 17 Apr 2014; Sébastien Fabbro <bicat...@gentoo.org> octave-3.8.1-r1.ebuild: + Removed checking of symbols in linear algebra libraries bug #507782 16 Apr 2014; Sébastien Fabbro <bicat...@gentoo.org> octave-3.8.1-r1.ebuild: remove spqr check, not needed in octave anyway, bug #507782