From ede60a4a1a0357f304640ea30d9f511e0e7cf8a1 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 16 Nov 2004 09:24:05 +0000 Subject: Make the glib-2.0 builds skip themselves if USE_NLS is no, since they arent buildable without native language support. BKrev: 4199c735pHUS602hqVoHCxXQo_i_yQ --- glib-2.0/glib-2.0_2.4.5.oe | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'glib-2.0/glib-2.0_2.4.5.oe') diff --git a/glib-2.0/glib-2.0_2.4.5.oe b/glib-2.0/glib-2.0_2.4.5.oe index 6e68ee4379..cee350f234 100644 --- a/glib-2.0/glib-2.0_2.4.5.oe +++ b/glib-2.0/glib-2.0_2.4.5.oe @@ -23,6 +23,11 @@ S = "${WORKDIR}/glib-${PV}" inherit autotools pkgconfig gettext +python () { + if oe.data.getVar("USE_NLS", d, 1) == "no": + raise oe.parse.SkipPackage("${PN} requires native language support.") +} + acpaths = "" do_configure_prepend () { install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . -- cgit v1.2.3