[oe-commits] Robert Schuster : openjdk-langtools-native: Add virtual/ java-native to DEPENDS ( the tools need a runtime otherwise there are useless)
GIT User account
git at amethyst.openembedded.net
Fri Nov 14 09:40:43 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 06d6c5c9a035a9ac5c77d9e86d6a27749b72388d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=06d6c5c9a035a9ac5c77d9e86d6a27749b72388d
Author: Robert Schuster <thebohemian at gmx.net>
Date: Fri Nov 14 10:39:41 2008 +0100
openjdk-langtools-native: Add virtual/java-native to DEPENDS (the tools need a runtime otherwise there are useless)
---
.../openjdk-langtools-native_0.0+jdk7-b31.bb | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/packages/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb b/packages/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb
index 1533818..9b857a1 100644
--- a/packages/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb
+++ b/packages/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb
@@ -2,9 +2,9 @@ DESCRIPTION = "Java Language tools (sun-javac, javah, javap, javadoc and apt) fr
HOMEPAGE = "http://http://openjdk.java.net/groups/compiler"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
-DEPENDS = "classpath-native fastjar-native ecj-initial"
+DEPENDS = "classpath-native fastjar-native ecj-initial virtual/java-native"
S = "${WORKDIR}/icepick-0.0+hg20080118"
@@ -27,9 +27,11 @@ EXTRA_OECONF = "\
export JAVAC_OPTS="-bootclasspath ${STAGING_DATADIR_JAVA}/share/classpath/glibj.zip -source 5.0"
do_stage_append() {
+ [ -f ${bindir}/sun-javac ] && rm ${bindir}/sun-javac
+
# Provide javac as sun-javac to not clash with the binary of the same
# name in ecj-bootstrap-native.
# This way ecj-bootstrap-native and openjdk-langtools-native can coexist
# in staging dir.
- mv ${bindir}/javac ${bindir}/sun-javac
+ mv -f ${bindir}/javac ${bindir}/sun-javac
}
More information about the Openembedded-commits
mailing list