diff options
Diffstat (limited to 'net-im/tde2e/files')
-rw-r--r-- | net-im/tde2e/files/patch-CMakeLists.txt | 11 | ||||
-rw-r--r-- | net-im/tde2e/files/patch-CMake_GetGitRevisionDescription.cmake | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net-im/tde2e/files/patch-CMakeLists.txt b/net-im/tde2e/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..2e8b91fcc1d6 --- /dev/null +++ b/net-im/tde2e/files/patch-CMakeLists.txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2025-05-23 15:52:11 UTC ++++ CMakeLists.txt +@@ -238,7 +238,7 @@ endif() + add_subdirectory(test) + endif() + +-if (NOT CMAKE_CROSSCOMPILING) ++if (FREEBSD_BUILD_BENCHMARKS AND NOT CMAKE_CROSSCOMPILING) + add_subdirectory(benchmark) + endif() + diff --git a/net-im/tde2e/files/patch-CMake_GetGitRevisionDescription.cmake b/net-im/tde2e/files/patch-CMake_GetGitRevisionDescription.cmake new file mode 100644 index 000000000000..a61a15f8be14 --- /dev/null +++ b/net-im/tde2e/files/patch-CMake_GetGitRevisionDescription.cmake @@ -0,0 +1,11 @@ +--- CMake/GetGitRevisionDescription.cmake.orig 2025-05-10 18:47:56 UTC ++++ CMake/GetGitRevisionDescription.cmake +@@ -67,7 +67,7 @@ function(get_git_head_revision _refspecvar _hashvar) + endif() + if (GIT_DIR STREQUAL "") + set(${_refspecvar} "GITDIR-NOTFOUND" PARENT_SCOPE) +- set(${_hashvar} "GITDIR-NOTFOUND" PARENT_SCOPE) ++ set(${_hashvar} "%%COMMIT%%" PARENT_SCOPE) + return() + endif() + |