lapack-reference-3.7.0-fix-build-system.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. diff --git a/BLAS/blas.pc.in b/BLAS/blas.pc.in
  2. index 7fd6f1e..e52f3ad 100644
  3. --- a/BLAS/blas.pc.in
  4. +++ b/BLAS/blas.pc.in
  5. @@ -1,5 +1,7 @@
  6. -prefix=@prefix@
  7. -libdir=@libdir@
  8. +prefix=@CMAKE_INSTALL_PREFIX@
  9. +exec_prefix=${prefix}
  10. +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
  11. +includedir=${prefix}/include
  12. Name: BLAS
  13. Description: FORTRAN reference implementation of BLAS Basic Linear Algebra Subprograms
  14. diff --git a/CBLAS/cblas.pc.in b/CBLAS/cblas.pc.in
  15. index 4a938fe..311aed9 100644
  16. --- a/CBLAS/cblas.pc.in
  17. +++ b/CBLAS/cblas.pc.in
  18. @@ -1,5 +1,7 @@
  19. -prefix=@prefix@
  20. -libdir=@libdir@
  21. +prefix=@CMAKE_INSTALL_PREFIX@
  22. +exec_prefix=${prefix}
  23. +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
  24. +includedir=${prefix}/include
  25. Name: CBLAS
  26. Description: C Standard Interface to BLAS Basic Linear Algebra Subprograms
  27. diff --git a/LAPACKE/lapacke.pc.in b/LAPACKE/lapacke.pc.in
  28. index 028f8da..dc092b1 100644
  29. --- a/LAPACKE/lapacke.pc.in
  30. +++ b/LAPACKE/lapacke.pc.in
  31. @@ -1,5 +1,7 @@
  32. -prefix=@prefix@
  33. -libdir=@libdir@
  34. +prefix=@CMAKE_INSTALL_PREFIX@
  35. +exec_prefix=${prefix}
  36. +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
  37. +includedir=${prefix}/include
  38. Name: LAPACKE
  39. Description: C Standard Interface to LAPACK Linear Algebra PACKage
  40. diff --git a/lapack.pc.in b/lapack.pc.in
  41. index 878efc2..2cca4c2 100644
  42. --- a/lapack.pc.in
  43. +++ b/lapack.pc.in
  44. @@ -1,5 +1,7 @@
  45. -prefix=@prefix@
  46. -libdir=@libdir@
  47. +prefix=@CMAKE_INSTALL_PREFIX@
  48. +exec_prefix=${prefix}
  49. +libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
  50. +includedir=${prefix}/include
  51. Name: LAPACK
  52. Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage