mirror of
https://git.freebsd.org/ports.git
synced 2025-05-22 11:48:35 -04:00
PR: ports/110768 Submitted by: nemoliu Approved by: maintainer (previous version, with reservations)
37 lines
1.2 KiB
Text
37 lines
1.2 KiB
Text
--- ./tools/etc/buildmagic/buildmagic.ent.orig Sun Mar 25 22:53:51 2007
|
|
+++ ./tools/etc/buildmagic/buildmagic.ent Sun Mar 25 22:54:21 2007
|
|
@@ -7,34 +7,6 @@
|
|
<!-- Initialize the build system. -->
|
|
<target name="_buildmagic:init" unless="init.disable">
|
|
|
|
- <!-- 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"/>
|
|
-
|
|
- <!--
|
|
- | 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}"/>
|
|
- </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}.
|
|
-
|
|
- </fail>
|
|
-
|
|
<!-- JDK Detection -->
|
|
<available classname="java.lang.StrictMath" property="HAVE_JDK_1.3"/>
|
|
<available classname="java.lang.StackTraceElement" property="HAVE_JDK_1.4"/>
|