[oe-commits] Andreas Oberritter : xorg-lib: don' t build libs unless requested by DISTRO_FEATURES (fix up)

git at git.openembedded.org git at git.openembedded.org
Sun Feb 26 11:43:51 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 384912b4719a77b2e5f6673066e75258df130f5d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=384912b4719a77b2e5f6673066e75258df130f5d

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Fri Feb 24 19:40:31 2012 +0100

xorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)

* Improve error message as suggested by Koen.
  (This got lost when v1 was committed instead of v2)

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-graphics/xorg-lib/xorg-lib-common.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
index 3d5d378..73a4d1d 100644
--- a/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
+++ b/meta/recipes-graphics/xorg-lib/xorg-lib-common.inc
@@ -18,5 +18,5 @@ EXTRA_OECONF = "--enable-malloc0returnsnull --with-fop=no --without-xmlto"
 python () {
         whitelist = [ "pixman" ]
         if not d.getVar('BPN', True) in whitelist and not oe.utils.contains ('DISTRO_FEATURES', 'x11', True, False, d):
-                raise bb.parse.SkipPackage("X11 not enabled for this DISTRO")
+                raise bb.parse.SkipPackage("'x11' not in DISTRO_FEATURES")
 }





More information about the Openembedded-commits mailing list