aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Bissey <francois.bissey@canterbury.ac.nz>2017-03-14 23:14:14 +1300
committerJustin Lecher <jlec@gentoo.org>2017-03-14 10:14:14 +0000
commit9554cfa2cfea3491a45697082077cf37b2fbf3f9 (patch)
treecb11509dc09f5fce289b4c128cad94d41b52008c
parentAdd new gmsh ebuild. (#724) (diff)
downloadsci-9554cfa2cfea3491a45697082077cf37b2fbf3f9.tar.gz
sci-9554cfa2cfea3491a45697082077cf37b2fbf3f9.tar.bz2
sci-9554cfa2cfea3491a45697082077cf37b2fbf3f9.zip
sci-libs/cblas-reference: fix for issue #60 (#752)
Package-Manager: portage-2.3.3
-rw-r--r--sci-libs/cblas-reference/cblas-reference-20161223-r101.ebuild (renamed from sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild)0
-rw-r--r--sci-libs/cblas-reference/files/lapack-reference-3.7.0-fix-build-system.patch11
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
index 4b39f5657..4b39f5657 100644
--- a/sci-libs/cblas-reference/cblas-reference-20161223-r100.ebuild
+++ b/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