aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Bissey <francois.bissey@canterbury.ac.nz>2014-09-25 22:44:36 +1200
committerFrançois Bissey <francois.bissey@canterbury.ac.nz>2014-09-25 22:44:36 +1200
commit2448b0086ae46343357b04a54062f05f0d6d9cb3 (patch)
tree08f8a5e2afa9504672f75999cefcc5f3c476cf38 /sci-libs/lapack-reference/lapack-reference-9999.ebuild
parentinitial commit (diff)
downloadsci-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
Diffstat (limited to 'sci-libs/lapack-reference/lapack-reference-9999.ebuild')
-rw-r--r--sci-libs/lapack-reference/lapack-reference-9999.ebuild6
1 files changed, 6 insertions, 0 deletions
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() {