summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-02-24 07:27:50 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-03-04 20:18:50 (GMT)
commit5d8acdc937c67f2309017fbe783f8fb75f681c65 (patch)
tree9b380b9ce120f963bbfa338553566518f51c22de
parentd4f49fc1fef5cc0d5f42d035b48c96ad941c9001 (diff)
downloadbuildroot-5d8acdc937c67f2309017fbe783f8fb75f681c65.tar.gz
buildroot-5d8acdc937c67f2309017fbe783f8fb75f681c65.tar.bz2
ncurses: speed up the build by not installing manpages
The installation of manpages during the installation step of host-ncurses and ncurses is horribly slow, and useless. This commit therefore disables the installation of those manpages, using the --without-manpages configuration option. It brings the combined host-ncurses+ncurses configure/build/install time from 3 minutes and 18 seconds to 1 minute and 36 seconds. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/ncurses/ncurses.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index aa2b6bc..e77a0f1 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -27,7 +27,8 @@ NCURSES_CONF_OPT = \
--enable-echo \
--enable-const \
--enable-overwrite \
- --enable-pc-files
+ --enable-pc-files \
+ $(if $(BR2_HAVE_DOCUMENTATION),,--without-manpages)
ifneq ($(BR2_ENABLE_DEBUG),y)
NCURSES_CONF_OPT += --without-debug
@@ -115,7 +116,8 @@ define HOST_NCURSES_BUILD_CMDS
endef
HOST_NCURSES_CONF_OPT = \
- --without-shared --without-gpm
+ --without-shared --without-gpm \
+ --without-manpages
$(eval $(autotools-package))
$(eval $(host-autotools-package))