[packages/domoticz] - don't even look for git, it's not needed for the build
baggins
baggins at pld-linux.org
Sat Jun 6 12:22:55 CEST 2020
commit 080c2844b17406dbb731f7cf73d4977917d6600a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Jun 6 12:22:33 2020 +0200
- don't even look for git, it's not needed for the build
no-git.patch | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/no-git.patch b/no-git.patch
index 6c7586c..abf9e1b 100644
--- a/no-git.patch
+++ b/no-git.patch
@@ -44,7 +44,19 @@
endif()
--- domoticz-2020.2/getgit.cmake.orig 2020-04-26 15:49:25.000000000 +0200
+++ domoticz-2020.2/getgit.cmake 2020-06-06 12:19:42.567678153 +0200
-@@ -23,55 +23,11 @@
+@@ -2,11 +2,6 @@
+ # 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()
+-
+ MACRO(History_GET_REVISION variable)
+ IF(EXISTS ${CMAKE_SOURCE_DIR}/History.txt)
+ MESSAGE(STATUS "Read ProjectRevision from History.txt")
+@@ -23,55 +18,11 @@
ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/History.txt)
ENDMACRO(History_GET_REVISION)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/domoticz.git/commitdiff/080c2844b17406dbb731f7cf73d4977917d6600a
More information about the pld-cvs-commit
mailing list