aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/cacao
diff options
context:
space:
mode:
authorJens Rehsack <rehsack@gmail.com>2015-10-28 18:58:24 +0100
committerOtavio Salvador <otavio@ossystems.com.br>2015-10-29 09:02:28 -0200
commita88718b6a6ec2a9429cbfd364d590ae69eb661e4 (patch)
tree7b55fc01182e0c5802f35d0414053503b27c6dce /recipes-core/cacao
parentdf20f2d68ba63e0acfb54c1947bd24a01a74f444 (diff)
downloadmeta-java-a88718b6a6ec2a9429cbfd364d590ae69eb661e4.tar.gz
meta-java-a88718b6a6ec2a9429cbfd364d590ae69eb661e4.tar.bz2
meta-java-a88718b6a6ec2a9429cbfd364d590ae69eb661e4.zip
Avoid parse time errors due to dependency on x11, for distros without x11
BitBake raises some errors when processing recipes that depend on x11 for distros that don't have x11 in DISTRO_FEATURES. To work around that issue, REQUIRED_DISTRO_FEATURES = "x11" (from distro_features_check.bbclass) has been set for the following recipes: * cacao (_class-target) * classpath (_class-target) * jamvm (_class-target) * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). This patch improves the idea from Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Jens Rehsack <sno@netbsd.org> Acked-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-core/cacao')
-rw-r--r--recipes-core/cacao/cacao_1.6.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb
index 564dd1e..f88293b 100644
--- a/recipes-core/cacao/cacao_1.6.1.bb
+++ b/recipes-core/cacao/cacao_1.6.1.bb
@@ -18,6 +18,7 @@ SRC_URI[sha256sum] = "eecc8bd1b528a028f43d9d1d0c06b97855bbf1d40e03826d911ebbc0b6
inherit java autotools-brokensep update-alternatives pkgconfig distro_features_check
REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES_class-native := ""
EXTRA_OECONF_class-native = "\
--enable-debug \