From 6634c058d201e00b9ea42265b2f8a5f459e45711 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Sat, 17 Oct 2020 17:47:53 -0700 Subject: tools/depends: add automake patch to fix race in parallel builds --- tools/depends/native/automake/01-fix-help2man-error.patch | 12 ++++++++++++ tools/depends/native/automake/Makefile | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tools/depends/native/automake/01-fix-help2man-error.patch (limited to 'tools') diff --git a/tools/depends/native/automake/01-fix-help2man-error.patch b/tools/depends/native/automake/01-fix-help2man-error.patch new file mode 100644 index 0000000000..dd056826ab --- /dev/null +++ b/tools/depends/native/automake/01-fix-help2man-error.patch @@ -0,0 +1,12 @@ +diff -Naur a/Makefile.in b/Makefile.in +--- a/Makefile.in 2020-03-16 19:11:10.000000000 -0700 ++++ b/Makefile.in 2020-10-22 08:06:24.606751367 -0700 +@@ -699,7 +699,7 @@ + update_mans = \ + $(AM_V_GEN): \ + && $(MKDIR_P) doc \ +- && ./pre-inst-env $(PERL) $(srcdir)/doc/help2man --output=$@ ++ && ./pre-inst-env $(PERL) $(srcdir)/doc/help2man --output=$@ --no-discard-stderr + + amhello_sources = \ + doc/amhello/configure.ac \ diff --git a/tools/depends/native/automake/Makefile b/tools/depends/native/automake/Makefile index 3dfa1c1130..66c14a7632 100644 --- a/tools/depends/native/automake/Makefile +++ b/tools/depends/native/automake/Makefile @@ -1,6 +1,6 @@ include ../../Makefile.include PLATFORM=$(NATIVEPLATFORM) -DEPS= ../../Makefile.include Makefile +DEPS= ../../Makefile.include Makefile 01-fix-help2man-error.patch # lib name, version LIBNAME=automake @@ -21,6 +21,7 @@ $(TARBALLS_LOCATION)/$(ARCHIVE): $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS) -rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) + cd $(PLATFORM); patch -p1 -i ../01-fix-help2man-error.patch cd $(PLATFORM); $(CONFIGURE) $(LIBDYLIB): $(PLATFORM) -- cgit v1.2.3