ports/www/domoticz/files/patch-getgit.cmake
Oleksii Samorukov d2ad0f0515 www/domoticz: Update to 2020.2
- Make LUA as hard dependency as internal LUA is not supported anymore
- Make OPENZWAVE optional dependency
- Enable usage of precompiled headers by default to follow the upstream
- Use GH_TUPLE to load external dependencies from the github (upstream uses git
  submodules), disable GIT_SUBMODULE. As for now only MQQT is supported
- Fix CMAKE_INSTALL_PREFIX (should be specified as Makefile option, not as CMAKE
   one) and remove patches obsoleted by that fix
- USE CMAKE_ON/CMAKE_OFF for the better readability
- Remove `post-patch` target, as version is normally set by the cmake itself
- Include patches for the embedded `mosquitto`, disable mosquitto shared libraries
  installation
- Update `pkg-plist` to support files added by the embedded dependencies
- Remove `CONFLICTS` as there are no such matched packages in the ports tree
- Fix build without PYTHON, patch accepted by the upstream
- Remove most of the STATIC* options

ChangeLog: https://github.com/domoticz/domoticz/blob/development/History.txt
PR: 245007
Approved by: krion (mentor)
Differential Revision: https://reviews.freebsd.org/D24984
2020-05-26 20:01:42 +00:00

17 lines
503 B
CMake

--- getgit.cmake.orig 2020-05-24 12:30:37 UTC
+++ getgit.cmake
@@ -2,10 +2,10 @@
# please take into account, that the variable 'SOURCE_DIR' has been defined by the caller
# the git.cmake module is part of the standard distribution
-find_package(Git)
-if(NOT GIT_FOUND)
- MESSAGE(FATAL_ERROR "Git not found!.")
-endif()
+#find_package(Git)
+#if(NOT GIT_FOUND)
+# MESSAGE(FATAL_ERROR "Git not found!.")
+#endif()
MACRO(History_GET_REVISION variable)
IF(EXISTS ${CMAKE_SOURCE_DIR}/History.txt)