diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2022-01-17 08:33:17 +0100 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2022-01-17 08:35:13 +0100 |
commit | edb56d4c62ae865be24e1fb81c7657d42a27c355 (patch) | |
tree | 1f84e5b960edfc857dce27a9d27a56ff6b3f595d /databases/clickhouse/files/patch-cmake_find_krb5.cmake | |
parent | graphics/qgis: Update to 3.22.3 (diff) |
databases/clickhouse: Update to 21.12.3.32
Changes: https://github.com/ClickHouse/ClickHouse/compare/v21.7.4.18-stable...v21.12.3.32-stable
Reported by: maintainer
Diffstat (limited to 'databases/clickhouse/files/patch-cmake_find_krb5.cmake')
-rw-r--r-- | databases/clickhouse/files/patch-cmake_find_krb5.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/clickhouse/files/patch-cmake_find_krb5.cmake b/databases/clickhouse/files/patch-cmake_find_krb5.cmake new file mode 100644 index 000000000000..ad14f69f0b77 --- /dev/null +++ b/databases/clickhouse/files/patch-cmake_find_krb5.cmake @@ -0,0 +1,11 @@ +--- cmake/find/krb5.cmake.orig 2021-12-26 09:29:33 UTC ++++ cmake/find/krb5.cmake +@@ -5,7 +5,7 @@ if (NOT EXISTS "${ClickHouse_SOURCE_DIR}/contrib/krb5/ + set (ENABLE_KRB5 0) + endif () + +-if (NOT CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" AND NOT CMAKE_CROSSCOMPILING)) ++if (NOT CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT CMAKE_SYSTEM_NAME MATCHES "FreeBSD" AND NOT (CMAKE_SYSTEM_NAME MATCHES "Darwin" AND NOT CMAKE_CROSSCOMPILING)) + message (WARNING "krb5 disabled in non-Linux and non-native-Darwin environments") + set (ENABLE_KRB5 0) + endif () |