libtool: add patch to remove help2man dependency

This commit is contained in:
Lukas Rusak 2015-10-27 11:37:17 -07:00
parent cd2390e245
commit 150c18761d
2 changed files with 27 additions and 1 deletions

View File

@ -33,5 +33,5 @@ PKG_IS_ADDON="no"
PKG_AUTORECONF="no"
PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared HELP2MAN=/bin/true"
PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared"

View File

@ -0,0 +1,26 @@
diff -Naur a/Makefile.am b/Makefile.am
--- a/Makefile.am 2015-01-20 07:34:33.000000000 -0800
+++ b/Makefile.am 2015-10-27 11:16:49.027497480 -0700
@@ -406,22 +406,6 @@
$(AM_V_GEN)$(MAKEINFO) -P '$(srcdir)/doc' --no-headers \
$(MAKEINFOFLAGS) -o '$@' '$(notes_texi)'
-dist_man1_MANS = $(libtool_1) $(libtoolize_1)
-MAINTAINERCLEANFILES += $(dist_man1_MANS)
-update_mans = \
- PATH=".$(PATH_SEPARATOR)$$PATH"; export PATH; \
- $(HELP2MAN) --output='$@'
-
-# It's wrong to make distributed files (e.g. $(libtool_1)) rely on
-# files created in the build tree, so instead we regenerate the
-# manual pages if the sources for the build-tree files we want to
-# run have changed.
-$(libtool_1): $(ltmain_sh)
- $(AM_V_GEN)$(update_mans) --help-option=--help-all libtool
-$(libtoolize_1): $(libtoolize_in)
- $(AM_V_GEN)$(update_mans) libtoolize
-
-
## ------------- ##
## Installation. ##
## ------------- ##