summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/rxtx/rxtx_2.1-7r2.bb14
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/rxtx/rxtx_2.1-7r2.bb b/packages/rxtx/rxtx_2.1-7r2.bb
index 9b4f9fa4fa..360d5acd78 100644
--- a/packages/rxtx/rxtx_2.1-7r2.bb
+++ b/packages/rxtx/rxtx_2.1-7r2.bb
@@ -3,7 +3,7 @@ LICENSE = "LGPL"
SECTION = "libs"
HOMEPAGE = "http://rxtx.org"
-PR = "r1"
+PR = "r2"
DEPENDS = "classpath classpath-tools-native"
@@ -14,13 +14,18 @@ SRC_URI = "\
file://rxtx-fixes-from-debian.patch;patch=1 \
"
+do_removebinaries_append() {
+ rm acinclude.m4
+}
+
do_compile() {
# Whatever configure detected it is completely unusable. So we override heavily.
oe_runmake \
JAVAH="gjavah -classpath \$(CLASSPATH) -d \$(DEST) -jni" \
JAR=gjar \
JAVAC="javac -classpath \$(CLASSPATH) -d \$(TOP)/ -O -source 1.3 -target 1.3" \
- JAVAINCLUDEDIR=${STAGING_INCDIR}/classpath
+ JAVAINCLUDEDIR=${STAGING_INCDIR}/classpath \
+ GLIBTOOL="${TARGET_SYS}-libtool"
}
do_install() {
@@ -28,8 +33,9 @@ do_install() {
install -d ${D}/${datadir_java}
oe_runmake install \
- RXTX_PATH=${D}/${libdir_jni} \
- JHOME=${D}/${datadir_java}
+ RXTX_PATH="${D}/${libdir_jni}" \
+ JHOME="${D}/${datadir_java}" \
+ GLIBTOOL="${TARGET_SYS}-libtool"
}
do_stage() {