summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-01 13:11:29 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-02 08:34:53 +0200
commit09989675149f4aa81d32812973bbb0ca48ed9ba9 (patch)
tree91863fb76439d8c07b743d0de59e1b688003c99c
parentf0066beb4d617c93d69d2a5308a2a19dffa13b3c (diff)
ecj.jar is in dl_dir
-rw-r--r--package/ant/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/ant/Makefile b/package/ant/Makefile
index b5b7d86b9..fda2e54c9 100644
--- a/package/ant/Makefile
+++ b/package/ant/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= c474fa9d0c35a24037c23b6e476862c1
PKG_DESCR:= ant utility
PKG_SECTION:= lang
+HOST_BUILDDEP:= gcj-host
PKG_SITES:= http://archive.apache.org/dist/ant/source/
PKG_CFLINE_ANT:= depends on ADK_HOST_ONLY
@@ -27,7 +28,7 @@ host-build:
if [ ! -f $(WRKBUILD)/lib/optional/junit-4.9b2.jar ];then \
cd $(WRKBUILD)/lib/optional; wget http://openadk.org/distfiles/junit-4.9b2.jar; \
fi
- cp $(STAGING_HOST_DIR)/usr/share/java/ecj.jar $(WRKBUILD)/lib/optional
+ cp $(DL_DIR)/ecj.jar $(WRKBUILD)/lib/optional
cd ${WRKBUILD}; export BOOTJAVAC_OPTS="-bootclasspath $(STAGING_HOST_DIR)/usr/share/classpath/glibj.zip" \
LD_LIBRARY_PATH=$(STAGING_HOST_DIR)/usr/lib:$(STAGING_HOST_DIR)/usr/lib64 \
JAVA_HOME=$(STAGING_HOST_DIR)/usr/lib/jvm ; \