Skip to contentSkip to conversation

glib: Add --disable-man to configure arguments

PATCH In review Phil Blundell 2 participants 2 messages Apr 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 glib: Add --disable-man to configure arguments

Without this, glib will probe for the existence of xsltproc and use that to decide whether or not it wants to generate manpages. This has two consequences, neither of them good:

a) the result of the build will vary depending on whether xsltproc happens to be installed in either the native sysroot or the host environment; and

b) if xsltproc does happen to be installed but docbook-xsl isn't, the build will fail with "I/O error" messages.

---
 meta/recipes-core/glib-2.0/glib.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glib-2.0/glib.inc +1 -1
index 42c34c3..d5fa0a3 100644
@@ -25,7 +25,7 @@ inherit autotools gettext gtk-doc pkgconfig ptest
 
 S = "${WORKDIR}/glib-${PV}"
 
-CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap"
+CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap --disable-man"
 
 PTEST_CONF = "${@base_contains('DISTRO_FEATURES', 'ptest', '--enable-modular-tests', '--disable-modular-tests', d)}"
 EXTRA_OECONF = "--enable-included-printf=no ${CORECONF} ${PTEST_CONF}"
Signature · 1 line
1.7.10.4
#1 lore raw

meta/recipes-core/glib-2.0/glib.inc inherit autotools gettext gtk-doc pkgconfig ptest · line 31

Quoted 5 lines · Phil Blundell
meta/recipes-core/glib-2.0/glib.inc +1 -1
-CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap"
+CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap --disable-man"
 
 PTEST_CONF = "${@base_contains('DISTRO_FEATURES', 'ptest', '--enable-modular-tests', '--disable-modular-tests', d)}"
 EXTRA_OECONF = "--enable-included-printf=no ${CORECONF} ${PTEST_CONF}"

Looks good.