aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/cacao
diff options
context:
space:
mode:
authorMario Domenech Goulart <mario@ossystems.com.br>2015-08-18 17:14:30 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2015-08-18 18:54:17 -0300
commit24b98ac3a6ca7fadfba24709aac8d0b71316e299 (patch)
treec5658da851a712e48e14483b9c6ae5cb719f7f40 /recipes-core/cacao
parent15ed9662e26ed4ac8d843fb9d2335a49a9c03088 (diff)
downloadmeta-java-24b98ac3a6ca7fadfba24709aac8d0b71316e299.tar.gz
meta-java-24b98ac3a6ca7fadfba24709aac8d0b71316e299.tar.bz2
meta-java-24b98ac3a6ca7fadfba24709aac8d0b71316e299.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 * classpath * jamvm * openjdk-6-release * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> 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.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb
index 14ff019..d52f339 100644
--- a/recipes-core/cacao/cacao_1.6.1.bb
+++ b/recipes-core/cacao/cacao_1.6.1.bb
@@ -15,7 +15,9 @@ SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-
SRC_URI[md5sum] = "2c18478404afd1cffdd15ad1e9d85a57"
SRC_URI[sha256sum] = "eecc8bd1b528a028f43d9d1d0c06b97855bbf1d40e03826d911ebbc0b6971e12"
-inherit java autotools-brokensep update-alternatives pkgconfig
+inherit java autotools-brokensep update-alternatives pkgconfig distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "x11"
EXTRA_OECONF_class-native = "\
--enable-debug \