diff mbox series

[meta-java,kirkstone,3/3] dbus-java: Include features check from classpath

Message ID 20220817114406.348705-3-andrei@gherzan.com
State New
Headers show
Series [meta-java,kirkstone,1/3] classpath: Use an include file for x11 feature check | expand

Commit Message

Andrei Gherzan Aug. 17, 2022, 11:44 a.m. UTC
From: Andrei Gherzan <andrei.gherzan@huawei.com>

classpath is an indirect dependency of this package that also has a
required distro feature on x11. Without having the same feature check
here, a world build would fail when x11 is not enabled. Reflecting the
same feature check in this recipe, makes sure that world will skip it as
well.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 recipes-extended/dbus/dbus-java_2.7.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/recipes-extended/dbus/dbus-java_2.7.bb b/recipes-extended/dbus/dbus-java_2.7.bb
index ca7652a..0e5ae92 100644
--- a/recipes-extended/dbus/dbus-java_2.7.bb
+++ b/recipes-extended/dbus/dbus-java_2.7.bb
@@ -25,6 +25,8 @@  S = "${WORKDIR}/dbus-java-${PV}"
 
 inherit java-library
 
+include recipes-core/classpath/classpath-features-check.inc
+
 # jamvm-native unfortunately contains non-generificed java/lang/reflect classes
 # which are accessed in this package. Work around this by setting the bootclasspath
 # explicitly.