summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Wulf C. Krueger <philantrop@exherbo.org> 2017-06-03 13:27:41 +0200
committerAvatar Wulf C. Krueger <philantrop@exherbo.org> 2017-06-03 13:27:41 +0200
commitc4bc12217163c731fac1ab243ab3ca604dc687c9 (patch)
treef76c0c67bca0a74a8c48e6e456b2eef6c33c7f1f
parentfa47ccbec235bd67417d064fa7d58d39d5f5f90e (diff)
downloadjava-c4bc12217163c731fac1ab243ab3ca604dc687c9.tar.gz
java-c4bc12217163c731fac1ab243ab3ca604dc687c9.tar.xz
Version bump to apache-ant-1.10.1
-rw-r--r--packages/dev-java/apache-ant/apache-ant-1.10.1.exheres-07
-rw-r--r--packages/dev-java/apache-ant/apache-ant.exlib6
2 files changed, 12 insertions, 1 deletions
diff --git a/packages/dev-java/apache-ant/apache-ant-1.10.1.exheres-0 b/packages/dev-java/apache-ant/apache-ant-1.10.1.exheres-0
new file mode 100644
index 0000000..4779330
--- /dev/null
+++ b/packages/dev-java/apache-ant/apache-ant-1.10.1.exheres-0
@@ -0,0 +1,7 @@
+# Copyright 2010-2017 Wulf C. Krueger <philantrop@exherbo.org>
+# Distributed under the terms of the GNU General Public License v2
+
+require apache-ant
+
+PLATFORMS="~amd64 ~x86"
+
diff --git a/packages/dev-java/apache-ant/apache-ant.exlib b/packages/dev-java/apache-ant/apache-ant.exlib
index abf783c..91e4c1d 100644
--- a/packages/dev-java/apache-ant/apache-ant.exlib
+++ b/packages/dev-java/apache-ant/apache-ant.exlib
@@ -2,7 +2,11 @@
# Copyright 2009 Sterling X. Winter <replica@exherbo.org>
# Distributed under the terms of the GNU General Public License v2
-require java
+if ever at_least 1.10 ; then
+ require java [ slot=1.8 ]
+else
+ require java
+fi
export_exlib_phases src_unpack src_prepare src_compile src_test src_install