summaryrefslogtreecommitdiff
path: root/biology/seqan3/files/patch-cmake_CPM.cmake
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-08-28 12:26:31 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2025-08-28 12:28:16 -0700
commit2bf6663f538069888ba6790bcd712cfaaae8f6d7 (patch)
tree5051cd9bc849db2ced3d7f65b39a0f84aa3ff435 /biology/seqan3/files/patch-cmake_CPM.cmake
parentdevel/wasi-libc: bump consumer PORTREVISIONs after update (diff)
biology/seqan3: update 3.3.0 → 3.4.0
Reported by: portscout
Diffstat (limited to 'biology/seqan3/files/patch-cmake_CPM.cmake')
-rw-r--r--biology/seqan3/files/patch-cmake_CPM.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/biology/seqan3/files/patch-cmake_CPM.cmake b/biology/seqan3/files/patch-cmake_CPM.cmake
new file mode 100644
index 000000000000..c288163d7312
--- /dev/null
+++ b/biology/seqan3/files/patch-cmake_CPM.cmake
@@ -0,0 +1,11 @@
+--- cmake/CPM.cmake.orig 2025-08-28 15:36:29 UTC
++++ cmake/CPM.cmake
+@@ -16,7 +16,7 @@ get_filename_component (CPM_DOWNLOAD_LOCATION ${CPM_DO
+ # Expand relative path. This is important if the provided path contains a tilde (~)
+ get_filename_component (CPM_DOWNLOAD_LOCATION ${CPM_DOWNLOAD_LOCATION} ABSOLUTE)
+
+-file (DOWNLOAD https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake
++file (DOWNLOAD file://${CPM_LOCATION}/CPM.cmake
+ ${CPM_DOWNLOAD_LOCATION} EXPECTED_HASH SHA256=${CPM_HASH_SUM})
+
+ include (${CPM_DOWNLOAD_LOCATION})