]> code.ossystems Code Review - openembedded-core.git/commitdiff
xorg-lib: don't build libs unless requested by DISTRO_FEATURES (fix up)
authorAndreas Oberritter <obi@opendreambox.org>
Fri, 24 Feb 2012 18:40:31 +0000 (19:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Feb 2012 11:41:10 +0000 (11:41 +0000)
* Improve error message as suggested by Koen.
  (This got lost when v1 was committed instead of v2)

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/xorg-lib/xorg-lib-common.inc

index 3d5d378c87224db0010a04d303395d55cac02ff8..73a4d1d3e40eb2df02488dbe3ca431f3db3beb0d 100644 (file)
@@ -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")
 }