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=1pkgdesc="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
On Wed, Nov 20, 2019 at 01:18:23PM +0000, alpine-mips-patches wrote:
> 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>
This as applied as d5c94dff (by maxice8).