commit:     9554cfa2cfea3491a45697082077cf37b2fbf3f9
Author:     François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz>
AuthorDate: Tue Mar 14 10:14:14 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Mar 14 10:14:14 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9554cfa2

sci-libs/cblas-reference: fix for issue #60 (#752)

Package-Manager: portage-2.3.3

 ...61223-r100.ebuild => cblas-reference-20161223-r101.ebuild} |  0
 .../files/lapack-reference-3.7.0-fix-build-system.patch       | 11 ++++++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild 
b/sci-libs/cblas-reference/cblas-reference-20161223-r101.ebuild
similarity index 100%
rename from sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild
rename to sci-libs/cblas-reference/cblas-reference-20161223-r101.ebuild

diff --git 
a/sci-libs/cblas-reference/files/lapack-reference-3.7.0-fix-build-system.patch 
b/sci-libs/cblas-reference/files/lapack-reference-3.7.0-fix-build-system.patch
index 70f7cb0ee..40f3aaa02 100644
--- 
a/sci-libs/cblas-reference/files/lapack-reference-3.7.0-fix-build-system.patch
+++ 
b/sci-libs/cblas-reference/files/lapack-reference-3.7.0-fix-build-system.patch
@@ -13,19 +13,24 @@ index 7fd6f1e..e52f3ad 100644
  Name: BLAS
  Description: FORTRAN reference implementation of BLAS Basic Linear Algebra 
Subprograms
 diff --git a/CBLAS/cblas.pc.in b/CBLAS/cblas.pc.in
-index 4a938fe..311aed9 100644
+index 4a938fe..269a254 100644
 --- a/CBLAS/cblas.pc.in
 +++ b/CBLAS/cblas.pc.in
-@@ -1,5 +1,7 @@
+@@ -1,9 +1,12 @@
 -prefix=@prefix@
 -libdir=@libdir@
 +prefix=@CMAKE_INSTALL_PREFIX@
 +exec_prefix=${prefix}
 +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
-+includedir=${prefix}/include
++includedir=${prefix}/include/@PROFNAME@
  
  Name: CBLAS
  Description: C Standard Interface to BLAS Basic Linear Algebra Subprograms
+ Version: @LAPACK_VERSION@
+ URL: http://www.netlib.org/blas/#_cblas
++Cflags: -I${includedir}
+ Libs: -L${libdir} -lcblas
+ Requires: blas
 diff --git a/LAPACKE/lapacke.pc.in b/LAPACKE/lapacke.pc.in
 index 028f8da..dc092b1 100644
 --- a/LAPACKE/lapacke.pc.in

Reply via email to