mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-12 06:02:08 +01:00
sys-devel/automake: Sync with Gentoo
It's from Gentoo commit aff0c2de37f226ccbbe2a1a9deac15d68346b938.
This commit is contained in:
parent
68a7d44208
commit
f70bb8b5c7
@ -3,6 +3,11 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Bumping notes:
|
||||
# * Remember to modify LAST_KNOWN_AUTOMAKE_VER 'upstream' in sys-devel/automake-wrapper
|
||||
# on new automake (major) releases, as well as the dependency in RDEPEND below too.
|
||||
# * Update _WANT_AUTOMAKE and _automake_atom case statement in autotools.eclass.
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit python-any-r1
|
||||
@ -56,8 +61,8 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.16.5-py3-compile.patch
|
||||
"${FILESDIR}"/${PN}-1.16.5-fix-instmany-python.sh-test.patch
|
||||
"${FILESDIR}"/${PN}-1.16.5-fix-py-compile-basedir.sh-test.patch
|
||||
# upstreamed
|
||||
"${FILESDIR}"/${PN}-1.16.5-apostrophe-in-tests.patch
|
||||
"${FILESDIR}"/${PN}-1.16.5-parallel-build.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
@ -3,6 +3,11 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
# Bumping notes:
|
||||
# * Remember to modify LAST_KNOWN_AUTOMAKE_VER 'upstream' in sys-devel/automake-wrapper
|
||||
# on new automake (major) releases, as well as the dependency in RDEPEND below too.
|
||||
# * Update _WANT_AUTOMAKE and _automake_atom case statement in autotools.eclass.
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit python-any-r1
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
https://git.savannah.gnu.org/cgit/automake.git/commit/?h=ed1368e8803e8934a8bbab52a38753484dba2a37
|
||||
|
||||
From ed1368e8803e8934a8bbab52a38753484dba2a37 Mon Sep 17 00:00:00 2001
|
||||
From: Karl Berry <karl@freefriends.org>
|
||||
Date: Mon, 12 Dec 2022 14:50:33 -0800
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
https://git.savannah.gnu.org/cgit/automake.git/commit/?h=ae8fb00111ba0c4922609cd9beb552fb41b66cc6
|
||||
|
||||
From e3db5b8038a902501a354b6921dcebcb4180f50a Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Deutschmann <whissi@gentoo.org>
|
||||
Date: Fri, 20 Nov 2020 02:13:56 +0100
|
||||
|
||||
@ -0,0 +1,54 @@
|
||||
https://git.savannah.gnu.org/cgit/automake.git/commit/?h=5d02285845acfc20a4900a471c0e7c5e2ff390a0
|
||||
|
||||
From 5d02285845acfc20a4900a471c0e7c5e2ff390a0 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Tue, 18 Jan 2022 04:47:09 -0500
|
||||
Subject: [PATCH] build: fix race in parallel builds
|
||||
|
||||
As reported by Hongxu Jia:
|
||||
> The automake-$(APIVERSION) is a hardlink of automake, if it is
|
||||
> created later than update_mans executing, there is a failure
|
||||
> [snip]
|
||||
> |: && mkdir -p doc && ./pre-inst-env /usr/bin/env perl ../automake-1.16.1/doc/help2man --output=doc/aclocal-1.16.1 aclocal-1.16
|
||||
> |help2man: can't get `--help' info from aclocal-1.16
|
||||
> |Try `--no-discard-stderr' if option outputs to stderr
|
||||
> Makefile:3693: recipe for target 'doc/aclocal-1.16.1' failed
|
||||
> [snip]
|
||||
>
|
||||
> The automake_script is required by update_mans and update_mans
|
||||
> invokes automake-$(APIVERSION) rather than automake to generate
|
||||
> doc, so we should assign `automake-$(APIVERSION)' to automake_script.
|
||||
>
|
||||
> The same reason to tweak aclocal_script.
|
||||
|
||||
However, rather than update the _script variables to point to the
|
||||
hardlinked copies of the programs, we can have the help2man steps
|
||||
run the existing scripts directly. This makes the relationship a
|
||||
bit more explicit and avoids implicit dependencies on names.
|
||||
|
||||
* doc/local.mk: Pass $(aclocal_script) and $(automake_script) to $(update_mans).
|
||||
* THANKS: Add Hongxu Jia.
|
||||
---
|
||||
THANKS | 1 +
|
||||
doc/local.mk | 4 ++--
|
||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/doc/local.mk b/doc/local.mk
|
||||
index a29363d2d71b..06c78823a574 100644
|
||||
--- a/doc/local.mk
|
||||
+++ b/doc/local.mk
|
||||
@@ -46,9 +46,9 @@ update_mans = \
|
||||
&& echo ".so man1/$$f-$(APIVERSION).1" > $@
|
||||
|
||||
%D%/aclocal-$(APIVERSION).1: $(aclocal_script) lib/Automake/Config.pm
|
||||
- $(update_mans) aclocal-$(APIVERSION)
|
||||
+ $(update_mans) $(aclocal_script)
|
||||
%D%/automake-$(APIVERSION).1: $(automake_script) lib/Automake/Config.pm
|
||||
- $(update_mans) automake-$(APIVERSION)
|
||||
+ $(update_mans) $(automake_script)
|
||||
|
||||
## This target is not invoked as a dependency of anything. It exists
|
||||
## merely to make checking the links in automake.texi (that is,
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
https://git.savannah.gnu.org/cgit/automake.git/commit/?h=bde43d0481ff540418271ac37012a574a4fcf097
|
||||
|
||||
From aa449bd4c836abf0320033c5077259fc760b622d Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Sun, 3 Nov 2019 11:51:19 +0100
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user