Gentoo Archives: gentoo-commits

From: Francois Bissey <f.r.bissey@×××××××××.nz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/lapack-reference/
Date: Thu, 25 Sep 2014 10:45:16
Message-Id: 1411641876.2448b0086ae46343357b04a54062f05f0d6d9cb3.fbissey@gentoo
1 commit: 2448b0086ae46343357b04a54062f05f0d6d9cb3
2 Author: François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
3 AuthorDate: Thu Sep 25 10:44:36 2014 +0000
4 Commit: Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz>
5 CommitDate: Thu Sep 25 10:44:36 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2448b008
7
8 Add xblas to the .pc file when it is in use see bug#523388
9
10 Package-Manager: portage-2.2.10
11
12 ---
13 sci-libs/lapack-reference/ChangeLog | 6 +++++-
14 sci-libs/lapack-reference/lapack-reference-9999.ebuild | 6 ++++++
15 2 files changed, 11 insertions(+), 1 deletion(-)
16
17 diff --git a/sci-libs/lapack-reference/ChangeLog b/sci-libs/lapack-reference/ChangeLog
18 index 0e0a1b8..57fcfa7 100644
19 --- a/sci-libs/lapack-reference/ChangeLog
20 +++ b/sci-libs/lapack-reference/ChangeLog
21 @@ -1,7 +1,11 @@
22 # ChangeLog for sci-libs/lapack-reference
23 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
24 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
25 # $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/ChangeLog,v 1.51 2010/10/02 20:49:51 grobian Exp $
26
27 + 25 Sep 2014; François Bissey <francois.bissey@×××××××××××××.nz>
28 + lapack-reference-9999.ebuild:
29 + Add xblas to the .pc file when it is in use see bug#523388
30 +
31 *lapack-reference-3.5.0 (08 Dec 2013)
32
33 08 Dec 2013; Sébastien Fabbro <bicatali@g.o>
34
35 diff --git a/sci-libs/lapack-reference/lapack-reference-9999.ebuild b/sci-libs/lapack-reference/lapack-reference-9999.ebuild
36 index cdcbe65..f9c9ca9 100644
37 --- a/sci-libs/lapack-reference/lapack-reference-9999.ebuild
38 +++ b/sci-libs/lapack-reference/lapack-reference-9999.ebuild
39 @@ -55,6 +55,12 @@ src_prepare() {
40 sed -i \
41 -e '/lapack_install_library(tmglib)/d' \
42 TESTING/MATGEN/CMakeLists.txt || die
43 + # if xblas is used add it in the .pc file
44 + if use xblas ; then
45 + sed -i \
46 + -e '/Requires/s:blas:blas xblas:' \
47 + lapack.pc.in || die
48 + fi
49 }
50
51 src_configure() {