summaryrefslogtreecommitdiff
path: root/java/jboss3/files/patch-build.xml
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-07-29 20:16:14 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-07-29 20:16:14 +0000
commit4fdc5322c6e78fe3612cda3bb2d9228477182631 (patch)
treefd6896779eec5cc64c993fc27384fc4b1f5c24e5 /java/jboss3/files/patch-build.xml
parentRefresh old sample portbuild.conf with the one currently used for i386 (diff)
- Update to 3.2.8
PR: ports/110768 Submitted by: nemoliu Approved by: maintainer (previous version, with reservations)
Notes
Notes: svn path=/head/; revision=196647
Diffstat (limited to 'java/jboss3/files/patch-build.xml')
-rw-r--r--java/jboss3/files/patch-build.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/java/jboss3/files/patch-build.xml b/java/jboss3/files/patch-build.xml
new file mode 100644
index 000000000000..52d4e964fda1
--- /dev/null
+++ b/java/jboss3/files/patch-build.xml
@@ -0,0 +1,38 @@
+--- ./build/build.xml.orig Sun Mar 25 22:55:20 2007
++++ ./build/build.xml Sun Mar 25 22:58:57 2007
+@@ -43,6 +43,35 @@
+ -->
+
+ <target name="init" unless="init.disable" depends="_buildmagic:init">
++ <!-- Make sure we have the right version of Ant -->
++ <property name="buildmagic.ant15.baseversion" value="1.5"/>
++ <property name="buildmagic.ant16.baseversion" value="1.6"/>
++ <property name="buildmagic.ant16.baseversion" value="1.7"/>
++ <!--
++ | Add new conditions for other supported Ant versions when they
++ | become avaialble.
++ -->
++
++ <condition property="buildmagic.ant.compatible">
++ <or>
++ <contains string="${ant.version}"
++ substring="Ant version ${buildmagic.ant15.baseversion}"/>
++ <contains string="${ant.version}"
++ substring="Ant version ${buildmagic.ant16.baseversion}"/>
++ <contains string="${ant.version}"
++ substring="Ant version ${buildmagic.ant17.baseversion}"/>
++ </or>
++ </condition>
++
++ <fail unless="buildmagic.ant.compatible">
++
++ Unsupported Ant version:
++
++ ${ant.version}
++
++ Please install a version which is compatible with Ant ${buildmagic.ant15.baseversion} or ${buildmagic.ant16.baseversion} or ${buildmagic.ant17.baseversion}.
++
++ </fail>
+ </target>
+
+