aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2019-09-17 04:13:12 +0800
committerPhil Christensen <philc@microsoft.com>2019-09-16 13:13:12 -0700
commit284e92d8883742a8c1192e80b0955e77d8ef9ad1 (patch)
tree95293cef66da84e77f5be8ba586bf537d6fb9b9e
parent9ed35f7c22880566ee391e5f2345686644a21ed5 (diff)
downloadvcpkg-284e92d8883742a8c1192e80b0955e77d8ef9ad1.tar.gz
vcpkg-284e92d8883742a8c1192e80b0955e77d8ef9ad1.zip
[clapack] Fix clapack-targets.cmake path in clpack-config.cmake (#8191)
-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(