diff options
author | alpine-mips-patches <info@mobile-stream.com> | 2018-12-03 10:26:31 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-12-17 08:59:04 +0000 |
commit | 8b256dcd696715633a9f885f8e8e8de0017d8f9a (patch) | |
tree | 4bdfdf05e288a23482471b6747af2dafbad0c362 /community/domoticz/do-not-fail-if-git-missing.patch | |
parent | fac66d15a3f70309f7f8efed142b0805d65a3c5e (diff) | |
download | aports-8b256dcd696715633a9f885f8e8e8de0017d8f9a.tar.bz2 aports-8b256dcd696715633a9f885f8e8e8de0017d8f9a.tar.xz |
community/domoticz: fix build without git installed
Let build continue when git is not found. No changes in behaviour
because all attempts to use git (to get project revision etc) fail
due to missing .git folder in the source tarball and project falls
back to appversion.default in any case.
Diffstat (limited to 'community/domoticz/do-not-fail-if-git-missing.patch')
-rw-r--r-- | community/domoticz/do-not-fail-if-git-missing.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/community/domoticz/do-not-fail-if-git-missing.patch b/community/domoticz/do-not-fail-if-git-missing.patch new file mode 100644 index 0000000000..140cc6f6ce --- /dev/null +++ b/community/domoticz/do-not-fail-if-git-missing.patch @@ -0,0 +1,11 @@ +--- a/getgit.cmake ++++ b/getgit.cmake +@@ -4,7 +4,7 @@ + # the git.cmake module is part of the standard distribution + find_package(Git) + if(NOT GIT_FOUND) +- MESSAGE(FATAL_ERROR "Git not found!.") ++ MESSAGE(WARNING "Git not found!.") + endif() + + MACRO(Gitversion_GET_REVISION dir variable) |