commit: 2448b0086ae46343357b04a54062f05f0d6d9cb3 Author: François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz> AuthorDate: Thu Sep 25 10:44:36 2014 +0000 Commit: Francois Bissey <f.r.bissey <AT> massey <DOT> ac <DOT> nz> CommitDate: Thu Sep 25 10:44:36 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2448b008
Add xblas to the .pc file when it is in use see bug#523388 Package-Manager: portage-2.2.10 --- sci-libs/lapack-reference/ChangeLog | 6 +++++- sci-libs/lapack-reference/lapack-reference-9999.ebuild | 6 ++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sci-libs/lapack-reference/ChangeLog b/sci-libs/lapack-reference/ChangeLog index 0e0a1b8..57fcfa7 100644 --- a/sci-libs/lapack-reference/ChangeLog +++ b/sci-libs/lapack-reference/ChangeLog @@ -1,7 +1,11 @@ # ChangeLog for sci-libs/lapack-reference -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/ChangeLog,v 1.51 2010/10/02 20:49:51 grobian Exp $ + 25 Sep 2014; François Bissey <[email protected]> + lapack-reference-9999.ebuild: + Add xblas to the .pc file when it is in use see bug#523388 + *lapack-reference-3.5.0 (08 Dec 2013) 08 Dec 2013; Sébastien Fabbro <[email protected]> diff --git a/sci-libs/lapack-reference/lapack-reference-9999.ebuild b/sci-libs/lapack-reference/lapack-reference-9999.ebuild index cdcbe65..f9c9ca9 100644 --- a/sci-libs/lapack-reference/lapack-reference-9999.ebuild +++ b/sci-libs/lapack-reference/lapack-reference-9999.ebuild @@ -55,6 +55,12 @@ src_prepare() { sed -i \ -e '/lapack_install_library(tmglib)/d' \ TESTING/MATGEN/CMakeLists.txt || die + # if xblas is used add it in the .pc file + if use xblas ; then + sed -i \ + -e '/Requires/s:blas:blas xblas:' \ + lapack.pc.in || die + fi } src_configure() {
