[Buildroot] [PATCH RESEND] pkg-infra: pass --disable-doc if documentation is not enabled

Peter Korsgaard jacmet at uclibc.org
Wed Dec 12 18:16:31 UTC 2012


>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be> writes:

 Arnout> Many configure scripts support an option like --disable-doc,
 Arnout> --disable-docs or --disable-documentation.  Pass all of these
 Arnout> to configure.

 Arnout> In addition, not all Xorg packages accept the
 Arnout> --disable-xxx. Instead they look for xmlto and/or fop and build
 Arnout> documentation if they exist.  For host packages, this may lead
 Arnout> to build errors because /usr/bin/xmlto uses libxml2 and we set
 Arnout> LD_LIBRARY_PATH to point to $(HOST_DIR)/lib, which may contain
 Arnout> a libxml2 as well.  So it's essential to disable xmlto for host
 Arnout> packages.

Committed, thanks.

With this we can also drop a bunch of explicit --disable-doc* in
packages.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list