automake: disable manpages
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 11 Sep 2014 17:42:21 +0000 (14:42 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 11 Sep 2014 20:31:57 +0000 (22:31 +0200)
As reported by Kanibal on IRC this seems to break on very modern
distributions and we don't care about manpages so disable them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/automake/automake-0001-noman.patch [new file with mode: 0644]

diff --git a/package/automake/automake-0001-noman.patch b/package/automake/automake-0001-noman.patch
new file mode 100644 (file)
index 0000000..a4ad16d
--- /dev/null
@@ -0,0 +1,27 @@
+Disable manpages build and installation, seems the bundled version of
+help2man is somewhat old and breaks on modern distributions such as
+Fedora 20, as reported by Kanibal on IRC.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura automake-1.14.1.orig/Makefile.in automake-1.14.1/Makefile.in
+--- automake-1.14.1.orig/Makefile.in   2014-09-10 18:40:57.554164448 -0300
++++ automake-1.14.1/Makefile.in        2014-09-10 18:42:01.050348068 -0300
+@@ -3387,7 +3387,7 @@
+ check-am: all-am
+       $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-local
+ check: check-am
+-all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(MANS) $(DATA)
++all-am: Makefile $(INFO_DEPS) $(SCRIPTS) $(DATA)
+ installdirs:
+       for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(infodir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(amdir)" "$(DESTDIR)$(automake_acdir)" "$(DESTDIR)$(automake_internal_acdir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(perllibdir)" "$(DESTDIR)$(pkgvdatadir)" "$(DESTDIR)$(scriptdir)" "$(DESTDIR)$(system_acdir)" "$(DESTDIR)$(perllibdir)"; do \
+         test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+@@ -3454,7 +3454,7 @@
+       install-dist_automake_internal_acDATA install-dist_docDATA \
+       install-dist_perllibDATA install-dist_pkgvdataDATA \
+       install-dist_scriptDATA install-dist_system_acDATA \
+-      install-info-am install-man install-nodist_perllibDATA
++      install-info-am install-nodist_perllibDATA
+       @$(NORMAL_INSTALL)
+       $(MAKE) $(AM_MAKEFLAGS) install-data-hook
+ install-dvi: install-dvi-am