summaryrefslogtreecommitdiff
path: root/packages/classpath/classpath.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.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.inc')
-rw-r--r--packages/classpath/classpath.inc11
1 files changed, 5 insertions, 6 deletions
diff --git a/packages/classpath/classpath.inc b/packages/classpath/classpath.inc
index cee09857e4..65bc465200 100644
--- a/packages/classpath/classpath.inc
+++ b/packages/classpath/classpath.inc
@@ -17,6 +17,7 @@ RPROVIDES_${PN}-common = "${PBN}-common"
RPROVIDES_${PN}-gtk = "${PBN}-awt"
SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
+
S = "${WORKDIR}/${PBN}-${PV}"
@@ -30,21 +31,19 @@ EXTRA_OECONF = "\
inherit autotools
-# hack to get config.rpath in, it comes from gettext
do_configure_prepend () {
- ${@['','cp ${STAGING_DATADIR_NATIVE}/automake-1.10/config.rpath ${S}'][bb.data.getVar('PREFERRED_VERSION_automake-native',d,1) == '1.10']}
-
+ cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}
}
do_stage() {
install -d ${STAGING_INCDIR}/classpath
install -m 0644 include/jni* ${STAGING_INCDIR}/classpath
- install -m 0644 include/jni_md.h ${STAGING_INCDIR}/classpath/
+ install -m 0644 include/jni_md.h ${STAGING_INCDIR}/classpath/
- install -d ${STAGING_DATADIR}/classpath
- install -m 0644 lib/glibj.zip ${STAGING_DATADIR}/classpath
+ install -d ${STAGING_DATADIR}/classpath
+ install -m 0644 lib/glibj.zip ${STAGING_DATADIR}/classpath
}
do_install() {