diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-03-15 20:52:15 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-03-15 20:52:15 +0100 |
commit | 235fcd4e9c1f57af368ca9bbe9dd25effc0dc900 (patch) | |
tree | 483f96d3a552c87819276a7f7592ec48a205deb1 /worker_modules | |
parent | Change --firmware-files handling (diff) | |
download | genkernel-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.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/worker_modules/gkbuild.sh b/worker_modules/gkbuild.sh index 7284d84..f384cee 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 ${*}" } |