diff --git a/packages/devel/libtool/package.mk b/packages/devel/libtool/package.mk index fe2cb5796a..4b26a105cc 100644 --- a/packages/devel/libtool/package.mk +++ b/packages/devel/libtool/package.mk @@ -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" diff --git a/packages/devel/libtool/patches/libtool-03-remove-help2man-dependency.patch b/packages/devel/libtool/patches/libtool-03-remove-help2man-dependency.patch new file mode 100644 index 0000000000..8e2defbb3d --- /dev/null +++ b/packages/devel/libtool/patches/libtool-03-remove-help2man-dependency.patch @@ -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. ## + ## ------------- ##