Skip to contentSkip to conversation

libtool: fix help2man related failure

PATCH New Gustavo Zacarias 2 participants 2 messages Dec 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libtool: fix help2man related failure

Libtool sometimes requires help2man to build manpages, but since we don't use/need them and want to avoid pulling in and/or building dependencies for that we just disable it. Fixes:
http://autobuild.buildroot.net/results/bfb/bfb9e298196d877b623580f882b6fe74b30bec9b/

Also add host-m4 as dependency, it's not strictly required but silences many build warnings.

---
 package/libtool/libtool.mk | 2 ++
 1 file changed, 2 insertions(+)
package/libtool/libtool.mk +2 -0
index c392e25..92c6dce 100644
@@ -8,6 +8,8 @@ LIBTOOL_VERSION = 2.4.4
 LIBTOOL_SOURCE = libtool-$(LIBTOOL_VERSION).tar.xz
 LIBTOOL_SITE = $(BR2_GNU_MIRROR)/libtool
 LIBTOOL_INSTALL_STAGING = YES
+LIBTOOL_CONF_ENV = HELP2MAN=true
+LIBTOOL_DEPENDENCIES = host-m4
 LIBTOOL_LICENSE = GPLv2+
 LIBTOOL_LICENSE_FILES = COPYING
 
Signature · 1 line
2.0.4
#1 lore raw

PATCH 1/1 libtool: fix help2man related failure

Dear Gustavo Zacarias,

Quoted 9 lines · Gustavo Zacarias

Libtool sometimes requires help2man to build manpages, but since we don't use/need them and want to avoid pulling in and/or building dependencies for that we just disable it. Fixes:
http://autobuild.buildroot.net/results/bfb/bfb9e298196d877b623580f882b6fe74b30bec9b/

Also add host-m4 as dependency, it's not strictly required but silences many build warnings.

I was initially a bit worried by the new host-m4 dependency, but since host-autoconf already depends on host-m4, in most situations, we build both host-autoconf and host-libtool, so we're fine.

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com