~alpine/aports

main/doxygen: do not use git during build v1 APPLIED

alpine-mips-patches: 1
 main/doxygen: do not use git during build

 1 files changed, 2 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/3136/mbox | git am -3
Learn more about email & git

[PATCH] main/doxygen: do not use git during build Export this patch

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 <ncopa@alpinelinux.org>
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