diff options
author | 2014-09-25 22:44:36 +1200 | |
---|---|---|
committer | 2014-09-25 22:44:36 +1200 | |
commit | 2448b0086ae46343357b04a54062f05f0d6d9cb3 (patch) | |
tree | 08f8a5e2afa9504672f75999cefcc5f3c476cf38 | |
parent | initial commit (diff) | |
download | sci-2448b0086ae46343357b04a54062f05f0d6d9cb3.tar.gz sci-2448b0086ae46343357b04a54062f05f0d6d9cb3.tar.bz2 sci-2448b0086ae46343357b04a54062f05f0d6d9cb3.zip |
Add xblas to the .pc file when it is in use see bug#523388
Package-Manager: portage-2.2.10
-rw-r--r-- | sci-libs/lapack-reference/ChangeLog | 6 | ||||
-rw-r--r-- | sci-libs/lapack-reference/lapack-reference-9999.ebuild | 6 |
2 files changed, 11 insertions, 1 deletions
diff --git a/sci-libs/lapack-reference/ChangeLog b/sci-libs/lapack-reference/ChangeLog index 0e0a1b8da..57fcfa7ed 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 <francois.bissey@canterbury.ac.nz> + 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 <bicatali@gentoo.org> diff --git a/sci-libs/lapack-reference/lapack-reference-9999.ebuild b/sci-libs/lapack-reference/lapack-reference-9999.ebuild index cdcbe650f..f9c9ca932 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() { |