java-commons-io: fix build

This commit is contained in:
Michael Gehring 2016-04-20 11:35:48 +02:00
parent c28418fd9b
commit 6c1f32e5df
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ homepage="http://commons.apache.org/io"
license="Apache-2.0"
short_desc="IO related classes for Java."
hostmakedepends="oracle-jdk apache-ant"
depends="oracle-jdk?java-runtime"
depends="virtual?java-runtime"
noarch="yes"
distfiles="http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/commons/io/source/${_origname}-${version}-src.tar.gz"
checksum="961c8b41a891933c2d662d8e490667243ac82422668d1ccdd7bfedfdb944bb58"
@ -16,7 +16,7 @@ wrksrc="${_origname}-${version}-src"
do_build(){
cd ${wrksrc}
source /etc/profile.d/oracle-jdk.sh
source /etc/profile.d/11_oracle-jdk.sh
ant jar
}