diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2012-03-19 00:18:31 +0100 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2012-05-25 22:12:33 +0200 |
commit | 554f73275be2177e7dc8438fc36bb5c98becf979 (patch) | |
tree | bdb002fa1ff12b0fcecf75bc4dc4fb413b294e6b /recipes-core/classpath | |
parent | dc42af0846fb690ef79471af9690597cad1257e4 (diff) | |
download | meta-java-554f73275be2177e7dc8438fc36bb5c98becf979.tar.gz |
classpath-native: sed out java-initial with sed in the tools and bump PR
Diffstat (limited to 'recipes-core/classpath')
-rw-r--r-- | recipes-core/classpath/classpath-native_0.98.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath-native_0.98.bb b/recipes-core/classpath/classpath-native_0.98.bb index 55022fb..32c3fb3 100644 --- a/recipes-core/classpath/classpath-native_0.98.bb +++ b/recipes-core/classpath/classpath-native_0.98.bb | |||
@@ -2,6 +2,8 @@ require classpath-native.inc | |||
2 | 2 | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=af0004801732bc4b20d90f351cf80510" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=af0004801732bc4b20d90f351cf80510" |
4 | 4 | ||
5 | PR = "r1" | ||
6 | |||
5 | SRC_URI += " \ | 7 | SRC_URI += " \ |
6 | file://SimpleName.diff;striplevel=0 \ | 8 | file://SimpleName.diff;striplevel=0 \ |
7 | file://sun-security-getproperty.patch;striplevel=0 \ | 9 | file://sun-security-getproperty.patch;striplevel=0 \ |
@@ -24,6 +26,20 @@ do_unpackpost() { | |||
24 | 26 | ||
25 | addtask unpackpost after do_unpack before do_patch | 27 | addtask unpackpost after do_unpack before do_patch |
26 | 28 | ||
29 | # tools using java-initial rather than java sed it out | ||
30 | do_compile_append () { | ||
31 | |||
32 | COMMANDS="gappletviewer gjarsigner gkeytool \ | ||
33 | gjar gnative2ascii gserialver grmiregistry \ | ||
34 | gtnameserv gorbd grmid grmic gjavah \ | ||
35 | " | ||
36 | |||
37 | for i in ${COMMANDS}; | ||
38 | do | ||
39 | sed -i -e "s/java-initial/java/g" tools/${i} | ||
40 | done | ||
41 | } | ||
42 | |||
27 | SRC_URI[md5sum] = "90c6571b8b0309e372faa0f9f6255ea9" | 43 | SRC_URI[md5sum] = "90c6571b8b0309e372faa0f9f6255ea9" |
28 | SRC_URI[sha256sum] = "501b5acd4dff79b6100da22cef15080f31071821ce3cea6f1b739bc1b56fac3f" | 44 | SRC_URI[sha256sum] = "501b5acd4dff79b6100da22cef15080f31071821ce3cea6f1b739bc1b56fac3f" |
29 | 45 | ||