summaryrefslogtreecommitdiffstats
path: root/recipes-core/ecj
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2012-01-11 22:44:22 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2012-01-11 22:53:06 +0100
commita6cd91a075ab2068624559129ea213e4a4fcb8eb (patch)
tree43a920dc6635cfdc4ed1e0bdeef500b159594f0a /recipes-core/ecj
parentcc04efcf23c40f7ad5915ecc7e41c937de0d0fba (diff)
downloadmeta-java-a6cd91a075ab2068624559129ea213e4a4fcb8eb.tar.gz
libecj-bootstrap: use sort for builder order and introduce INC_PR
* on some filesystems find orders the files to build not the right way, using sort seems to fix it, thanks Stefan Ring for the patch * use INC_PR for better revision handling Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Diffstat (limited to 'recipes-core/ecj')
-rw-r--r--recipes-core/ecj/libecj-bootstrap.inc4
-rw-r--r--recipes-core/ecj/libecj-bootstrap_3.6.2.bb2
2 files changed, 5 insertions, 1 deletions
diff --git a/recipes-core/ecj/libecj-bootstrap.inc b/recipes-core/ecj/libecj-bootstrap.inc
index 6f9048f..4f85ba9 100644
--- a/recipes-core/ecj/libecj-bootstrap.inc
+++ b/recipes-core/ecj/libecj-bootstrap.inc
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/EPL-1.0;md5=57f8d5e2b3e98ac6e08
7 7
8DEPENDS = "fastjar-native jikes-initial virtual/java-initial" 8DEPENDS = "fastjar-native jikes-initial virtual/java-initial"
9 9
10INC_PR = "r5"
11
10inherit native java 12inherit native java
11 13
12S = "${WORKDIR}" 14S = "${WORKDIR}"
@@ -47,7 +49,7 @@ do_unpackpost() {
47addtask unpackpost after do_unpack before do_patch 49addtask unpackpost after do_unpack before do_patch
48 50
49do_compile() { 51do_compile() {
50 find source -name '*.java' > sourcefiles 52 find source -name '*.java' | LC_ALL=C sort > sourcefiles
51 split -l 25 sourcefiles ecj-sources. 53 split -l 25 sourcefiles ecj-sources.
52 54
53 # Compiling in place is done because the sources contain 55 # Compiling in place is done because the sources contain
diff --git a/recipes-core/ecj/libecj-bootstrap_3.6.2.bb b/recipes-core/ecj/libecj-bootstrap_3.6.2.bb
index 98edc01..d890f10 100644
--- a/recipes-core/ecj/libecj-bootstrap_3.6.2.bb
+++ b/recipes-core/ecj/libecj-bootstrap_3.6.2.bb
@@ -1,5 +1,7 @@
1require libecj-bootstrap.inc 1require libecj-bootstrap.inc
2 2
3PR = "${INC_PR}.0"
4
3SRC_URI = " http://mirrors.ibiblio.org/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/ecjsrc-${PV}.zip" 5SRC_URI = " http://mirrors.ibiblio.org/pub/mirrors/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/ecjsrc-${PV}.zip"
4 6
5SRC_URI[md5sum] = "3f3ca1973dd7a21780525c9ffba7a263" 7SRC_URI[md5sum] = "3f3ca1973dd7a21780525c9ffba7a263"