summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-04-17 16:02:52 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-04-17 16:02:52 +0000
commit12715909e0c0ce82f5624d1b75a580bba7119ceb (patch)
treeb08d297d87126fc479c00eadf102659ad7d800bf /sci-mathematics/octave
parentTypo in ChangeLog, should be bug 446220. (diff)
downloadgentoo-2-12715909e0c0ce82f5624d1b75a580bba7119ceb.tar.gz
gentoo-2-12715909e0c0ce82f5624d1b75a580bba7119ceb.tar.bz2
gentoo-2-12715909e0c0ce82f5624d1b75a580bba7119ceb.zip
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)
Diffstat (limited to 'sci-mathematics/octave')
-rw-r--r--sci-mathematics/octave/ChangeLog5
-rw-r--r--sci-mathematics/octave/octave-3.8.1-r1.ebuild34
2 files changed, 5 insertions, 34 deletions
diff --git a/sci-mathematics/octave/ChangeLog b/sci-mathematics/octave/ChangeLog
index 4c8bd4e2444a..18835672925d 100644
--- a/sci-mathematics/octave/ChangeLog
+++ b/sci-mathematics/octave/ChangeLog
@@ -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 <bicatali@gentoo.org> octave-3.8.1-r1.ebuild:
+ Removed checking of symbols in linear algebra libraries bug #507782
16 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> octave-3.8.1-r1.ebuild:
remove spqr check, not needed in octave anyway, bug #507782
diff --git a/sci-mathematics/octave/octave-3.8.1-r1.ebuild b/sci-mathematics/octave/octave-3.8.1-r1.ebuild
index dedbbb76fd05..95a8ab33b49b 100644
--- a/sci-mathematics/octave/octave-3.8.1-r1.ebuild
+++ b/sci-mathematics/octave/octave-3.8.1-r1.ebuild
@@ -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 @@ PATCHES=(
"${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