diff --git a/dev-java/ant_core/ant_core-1.10.5.recipe b/dev-java/ant_core/ant_core-1.10.5.recipe index 71012fac6..0713e25e6 100644 --- a/dev-java/ant_core/ant_core-1.10.5.recipe +++ b/dev-java/ant_core/ant_core-1.10.5.recipe @@ -20,7 +20,7 @@ The Apache Ant project is part of the Apache Software Foundation. HOMEPAGE="http://ant.apache.org/" COPYRIGHT="1999-2018 The Apache Software Foundation" LICENSE="Apache v2" -REVISION="1" +REVISION="2" SOURCE_URI="http://archive.apache.org/dist/ant/source/apache-ant-$portVersion-src.tar.bz2" CHECKSUM_SHA256="71a5cdd45a54901b6321d5a140d882f7580c38f766a4e4959bcc36555da9f3ac" SOURCE_DIR="apache-ant-$portVersion" @@ -54,6 +54,7 @@ BUILD() { source /system/data/profile.d/openjdk8.sh export PATH=$JDK8_HOME/bin:$PATH + export JAVA_HOME="$JDK8_HOME" ANT_HOME= ./build.sh } @@ -70,6 +71,6 @@ INSTALL() mkdir -p $settingsDir/etc echo ANT_HOME=$ANT_HOME > $settingsDir/etc/ant.conf - + rm $ANT_HOME/bin/*{.bat,.cmd} }