From 6acfc3350dd4e5f37866d95b870ff91edf64751b Mon Sep 17 00:00:00 2001 From: Hugo Vasconcelos Saldanha Date: Tue, 24 Feb 2015 13:05:37 -0300 Subject: cacao: create the link /usr/bin/java in cacao-native In native build, the link is not created by update-alternatives. Some package builds were failing, like gnumail and gnujaf, if cacao was the PREFERRED_PROVIDER_virtual/java-native. Something similiar is currently done with jamvm-native. Signed-off-by: Hugo Vasconcelos Saldanha Signed-off-by: Otavio Salvador --- recipes-core/cacao/cacao_1.6.1.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'recipes-core/cacao') diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb index 0cb2fbc..2bd06c6 100644 --- a/recipes-core/cacao/cacao_1.6.1.bb +++ b/recipes-core/cacao/cacao_1.6.1.bb @@ -59,6 +59,10 @@ do_install_append () { rm ${D}/${bindir}/java } +do_install_append_class-native () { + ln -sf cacao ${D}/${bindir}/java +} + FILES_${PN} = "${bindir}/${PN} ${libdir}/cacao/lib*.so ${libdir}/lib*.so* ${datadir}/${PN}" FILES_${PN}-dbg += "${bindir}/.debug ${libdir}/.debug/lib*.so*" FILES_${PN}-doc += "${datadir}/gc" -- cgit v1.2.3-54-g00ecf