aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cblas-reference/files/lapack-reference-3.7.0-fix-build-system.patch')
-rw-r--r--sci-libs/cblas-reference/files/lapack-reference-3.7.0-fix-build-system.patch11
1 files changed, 8 insertions, 3 deletions
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