summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-12-12 20:31:31 +0000
committerJustin Lecher <jlec@gentoo.org>2012-12-12 20:31:31 +0000
commit3f642a690211843d70e55e9c87b07b0bad153885 (patch)
tree411cf45699271567376e26c11075783c6268fc39 /sci-libs
parentsci-libs/superlu: Respect AR and RANLIB; fix test failure, #430444 (diff)
downloadgentoo-2-3f642a690211843d70e55e9c87b07b0bad153885.tar.gz
gentoo-2-3f642a690211843d70e55e9c87b07b0bad153885.tar.bz2
gentoo-2-3f642a690211843d70e55e9c87b07b0bad153885.zip
sci-libs/superlu: Respect AR and RANLIB
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/superlu/ChangeLog5
-rw-r--r--sci-libs/superlu/superlu-4.3.ebuild13
2 files changed, 13 insertions, 5 deletions
diff --git a/sci-libs/superlu/ChangeLog b/sci-libs/superlu/ChangeLog
index 2798ae9ccf13..8a8690577453 100644
--- a/sci-libs/superlu/ChangeLog
+++ b/sci-libs/superlu/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/superlu
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/ChangeLog,v 1.19 2012/12/12 20:14:44 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/ChangeLog,v 1.20 2012/12/12 20:31:31 jlec Exp $
+
+ 12 Dec 2012; Justin Lecher <jlec@gentoo.org> superlu-4.3.ebuild:
+ Respect AR and RANLIB
12 Dec 2012; Justin Lecher <jlec@gentoo.org> superlu-4.1-r1.ebuild,
metadata.xml:
diff --git a/sci-libs/superlu/superlu-4.3.ebuild b/sci-libs/superlu/superlu-4.3.ebuild
index e53dcb9fe82d..90c5182f0244 100644
--- a/sci-libs/superlu/superlu-4.3.ebuild
+++ b/sci-libs/superlu/superlu-4.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild,v 1.6 2012/12/11 18:29:59 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/superlu/superlu-4.3.ebuild,v 1.7 2012/12/12 20:31:31 jlec Exp $
EAPI=4
@@ -30,15 +30,20 @@ S="${WORKDIR}/${MY_PN}_${PV}"
PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
-pkg_setup() {
+src_prepare() {
unset VERBOSE
- fortran-2_pkg_setup
+ sed \
+ -e "s:= ar:= $(tc-getAR):g" \
+ -e "s:= ranlib:= $(tc-getRANLIB):g" \
+ -i make.inc || die
+
+ autotools-utils_src_prepare
}
src_configure() {
local myeconfargs=( --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" )
autotools-utils_src_configure
- rm EXAMPLE/*itersol1
+ rm EXAMPLE/*itersol1 || die
}
src_test() {