summaryrefslogtreecommitdiff
path: root/packages/dbus-java/dbus-java_2.3.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.3.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.3.bb')
-rw-r--r--packages/dbus-java/dbus-java_2.3.bb9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/dbus-java/dbus-java_2.3.bb b/packages/dbus-java/dbus-java_2.3.bb
index 756dd9ffe9..8ed5c44d94 100644
--- a/packages/dbus-java/dbus-java_2.3.bb
+++ b/packages/dbus-java/dbus-java_2.3.bb
@@ -20,10 +20,15 @@ RSUGGESTS_libdbus-java = "libunixsocket-java dbus"
RDEPENDS_dbus-java-viewer = "java2-runtime libunixsocket-java ${JPN}"
RDEPENDS_dbus-java-bin = "java2-runtime libunixsocket-java ${JPN}"
+# 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}" \
@@ -32,7 +37,7 @@ do_compile () {
.binclasses
oe_runmake \
- JCFLAGS="-source 1.5" \
+ JCFLAGS="-source 1.5 ${JCFLAGS}" \
JAVAC="javac" \
JARPREFIX="${STAGING_DATADIR_JAVA}" \
JAVAUNIXJARDIR="${STAGING_DATADIR_JAVA}" \