aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-03-15 20:52:15 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-03-15 20:52:15 +0100
commit235fcd4e9c1f57af368ca9bbe9dd25effc0dc900 (patch)
tree483f96d3a552c87819276a7f7592ec48a205deb1 /worker_modules
parentChange --firmware-files handling (diff)
downloadgenkernel-235fcd4e9c1f57af368ca9bbe9dd25effc0dc900.tar.gz
genkernel-235fcd4e9c1f57af368ca9bbe9dd25effc0dc900.tar.bz2
genkernel-235fcd4e9c1f57af368ca9bbe9dd25effc0dc900.zip
gkbuild.sh: gkautoreconf(): add workaround for >autoconf-2.69
Since >autoconf-2.69, autoreconf will check for GTK_DOC_CHECK macro and will call gtkdocize automatically [Link 1] when invoked with "--install" parameter. This is a problem for genkernel because our gkautoreconf is just a rudimentary implementation of Gentoo's eautoreconf: I.e. autotools eclass in Gentoo is not calling autoreconf with "--install" parameter, instead eclass is manually checking all used macros like autoreconf but will only call used tools when available. Because we do not care about docs in gkbuild packages, we can stick to our poor man's implementation of gkautoreconf and replace calls to gtkdocize with true. Link 1: https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768 Bug: https://bugs.gentoo.org/775563 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'worker_modules')
-rw-r--r--worker_modules/gkbuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/worker_modules/gkbuild.sh b/worker_modules/gkbuild.sh
index 7284d842..f384cee6 100644
--- a/worker_modules/gkbuild.sh
+++ b/worker_modules/gkbuild.sh
@@ -632,6 +632,10 @@ gkautomake() {
# Wrapper for autoreconf.
# Will die when command will exit with nonzero exit status.
gkautoreconf() {
+ # >autoconf-2.69 will call gtkdocize when used in macros
+ # when called with --install parameter.
+ local -x GTKDOCIZE=true
+
gkexec "autoreconf --force --install ${*}"
}