Received: from mx12.valuehost.ru (mx12.valuehost.ru [217.112.42.215]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id DBB8D7800EC for ; Wed, 20 Nov 2019 13:27:45 +0000 (UTC) Received: from mx7.valuehost.ru (unknown [127.0.0.255]) by mx12.valuehost.ru (Postfix) with ESMTP id E4A164DB1A for ; Wed, 20 Nov 2019 16:27:44 +0300 (MSK) From: alpine-mips-patches Date: Wed, 20 Nov 2019 13:18:23 +0000 Subject: [PATCH] main/doxygen: do not use git during build To: alpine-aports@lists.alpinelinux.org Message-Id: <20191120132744.E4A164DB1A@mx12.valuehost.ru> 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 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