Subject: [PATCH] main/doxygen: do not use git during build

From: alpine-mips-patches <[email-masked]>
Date: Wed, 20 Nov 2019 13:18:23 +0000

If git is not installed, build breaks.

If git is installed, output of the 'git rev-parse HEAD' command is
saved in the resulted binary as doxygen revision. However doxygen
source tarball lacks the .git folder so the hash of the underlying
aports tree HEAD is retrieved instead.
---
 main/doxygen/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/doxygen/APKBUILD b/main/doxygen/APKBUILD
index 47f3de9567..3aef1dc911 100644
--- a/main/doxygen/APKBUILD
+++ b/main/doxygen/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=doxygen
 pkgver=1.8.16
-pkgrel=0
+pkgrel=1
 pkgdesc="A documentation system for C++, C, Java, IDL and PHP"
 url="http://www.doxygen.nl/"
 arch="all"
@@ -15,6 +15,7 @@ source="http://doxygen.nl/files/doxygen-$pkgver.src.tar.gz
 build() {
 	cd "$builddir"
 	cmake .\
+		-DGIT_EXECUTABLE=/bin/false \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_BUILD_TYPE=Release \
 		-Dbuild_xmlparser=ON
-- 
2.24.0