summaryrefslogtreecommitdiff
path: root/packages/classpath/classpath-native.inc
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2008-08-26 09:37:51 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2008-08-26 09:37:51 +0000
commitf8f6978b0be160111bf9478b4c48196538e788d2 (patch)
treed0d41298e736c781a93fc7ec3b7ff2285901aa2c /packages/classpath/classpath-native.inc
parent9f039bc749f5e0c95b2a466064b1014441b22e37 (diff)
classpath: fix config.rpath, autotools and ecj -d
* add ecj_java_dir.patch for issuse when ecj is not cable to to create directory-structure with parameter -d * add autotools.patch for m4 stuff * copy config.rpath always from /usr/share/gettext, so no crude hacks are needed anymore * bump PR on all recipes
Diffstat (limited to 'packages/classpath/classpath-native.inc')
-rw-r--r--packages/classpath/classpath-native.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/classpath/classpath-native.inc b/packages/classpath/classpath-native.inc
index 3f18c5fab6..992a16ec7a 100644
--- a/packages/classpath/classpath-native.inc
+++ b/packages/classpath/classpath-native.inc
@@ -5,11 +5,18 @@ LICENSE = "Classpath"
S = "${WORKDIR}/classpath-${PV}"
SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
+
DEPENDS = "ecj-initial fastjar-native zip-native gettext-native"
inherit autotools native
+
+do_configure_prepend () {
+
+ cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}
+}
+
export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
# Note: the --with-ecj options seems redundant but is
@@ -29,14 +36,7 @@ EXTRA_OECONF = "\
--includedir=${STAGING_INCDIR}/classpath \
--with-vm=java \
"
-# hack to get config.rpath in, it comes from gettext
-do_configure_prepend () {
-
- ${@['','cp ${STAGING_DATADIR}/automake-1.10/config.rpath ${S}'][bb.data.getVar('PREFERRED_VERSION_automake-native',d,1) == '1.10']}
-
-}
do_stage() {
oe_runmake install
}
-