aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/clapack/CONTROL2
-rw-r--r--ports/clapack/fix-ConfigFile.patch7
-rw-r--r--ports/clapack/portfile.cmake1
3 files changed, 9 insertions, 1 deletions
diff --git a/ports/clapack/CONTROL b/ports/clapack/CONTROL
index 9e7328e70..41d389f03 100644
--- a/ports/clapack/CONTROL
+++ b/ports/clapack/CONTROL
@@ -1,5 +1,5 @@
Source: clapack
-Version: 3.2.1-10
+Version: 3.2.1-11
Homepage: https://www.netlib.org/clapack
Description: CLAPACK (f2c'ed version of LAPACK)
Build-Depends: openblas (!osx)
diff --git a/ports/clapack/fix-ConfigFile.patch b/ports/clapack/fix-ConfigFile.patch
new file mode 100644
index 000000000..295c2bc1c
--- /dev/null
+++ b/ports/clapack/fix-ConfigFile.patch
@@ -0,0 +1,7 @@
+diff --git a/clapack-config.cmake.in b/clapack-config.cmake.in
+index cd19f1d..49af4f0 100644
+--- a/clapack-config.cmake.in
++++ b/clapack-config.cmake.in
+@@ -1 +1 @@
+-include("@CLAPACK_BINARY_DIR@/clapack-targets.cmake")
++include("${CMAKE_CURRENT_LIST_DIR}/clapack-targets.cmake")
diff --git a/ports/clapack/portfile.cmake b/ports/clapack/portfile.cmake
index 90169d79b..f05554e87 100644
--- a/ports/clapack/portfile.cmake
+++ b/ports/clapack/portfile.cmake
@@ -13,6 +13,7 @@ vcpkg_extract_source_archive_ex(
ARCHIVE ${ARCHIVE}
PATCHES
remove_internal_blas.patch
+ fix-ConfigFile.patch
)
vcpkg_configure_cmake(