ports/devel/kf5/extra-cmake-modules/patches/patch-kde-modules_KDEMetaInfoPlatformCheck_cmake

19 lines
902 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Fake it until we supported
Index: kde-modules/KDEMetaInfoPlatformCheck.cmake
--- kde-modules/KDEMetaInfoPlatformCheck.cmake.orig
+++ kde-modules/KDEMetaInfoPlatformCheck.cmake
@@ -38,8 +38,12 @@ if (NOT "${KF_IGNORE_PLATFORM_CHECK}")
if (CMAKE_SYSTEM_NAME MATCHES "Linux")
set(_MetainfoFoundSupportedPlatform true)
endif()
+ elseif (${CMAKE_MATCH_1} STREQUAL "OpenBSD")
+ if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
+ set(_MetainfoFoundSupportedPlatform true)
+ endif()
elseif (${CMAKE_MATCH_1} STREQUAL "FreeBSD")
- if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+ if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
set(_MetainfoFoundSupportedPlatform true)
endif()
elseif (${CMAKE_MATCH_1} STREQUAL "OpenBSD")