summaryrefslogtreecommitdiff
path: root/packages/dbus-java/dbus-java_2.4.bb
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-08-20 00:31:40 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-08-20 00:31:40 +0000
commit3507be1a6e90212487c6a3b914147d599edba8c3 (patch)
treeb61576d5a3e53075a15999c564daf9cdf39a0ddf /packages/dbus-java/dbus-java_2.4.bb
parent459e78341508ef8aa0aada5e8bb301010fe47dd6 (diff)
dbus-java 2.3: Fix compilation with jamvm-native.
dbus-java 2.4: Fix compilation with jamvm-native. dbus-java 2.5: New recipe.
Diffstat (limited to 'packages/dbus-java/dbus-java_2.4.bb')
-rw-r--r--packages/dbus-java/dbus-java_2.4.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/dbus-java/dbus-java_2.4.bb b/packages/dbus-java/dbus-java_2.4.bb
index 17b7ccec68..37c539b20e 100644
--- a/packages/dbus-java/dbus-java_2.4.bb
+++ b/packages/dbus-java/dbus-java_2.4.bb
@@ -17,10 +17,15 @@ S = "${WORKDIR}/dbus-java-${PV}"
inherit java-library
+# jamvm-native unfortunately contains non-generificed java/lang/reflect classes
+# which are accessed in this package. Work around this by setting the bootclasspath
+# explicitly.
+JCFLAGS = "-bootclasspath ${STAGING_DATADIR}/classpath/glibj.zip"
+
do_compile () {
# run target .binclasses first to fix a brokenness in the Makefile
oe_runmake \
- JCFLAGS="-source 1.5" \
+ JCFLAGS="-source 1.5 ${JCFLAGS}" \
JAVAC="javac" \
JARPREFIX="${STAGING_DATADIR_JAVA}" \
JAVAUNIXJARDIR="${STAGING_DATADIR_JAVA}" \
@@ -28,7 +33,7 @@ do_compile () {
JAR="fastjar" \
.binclasses
oe_runmake \
- JCFLAGS="-source 1.5" \
+ JCFLAGS="-source 1.5 ${JCFLAGS}" \
JAVAC="javac" \
JARPREFIX="${STAGING_DATADIR_JAVA}" \
JAVAUNIXJARDIR="${STAGING_DATADIR_JAVA}" \