freebsd-ports/math/jakarta-commons-math/files/patch-build.xml
Sunpoet Po-Chuan Hsieh cbb1a89d22 - Add LICENSE
- Fix build
- Converted to new options framework
- Support STAGEDIR

PR:		ports/188820
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
2014-04-26 18:15:42 +00:00

39 lines
1.5 KiB
XML

--- build.xml.bak 2014-04-19 21:14:45.345201138 +0600
+++ build.xml 2014-04-19 21:17:15.132174422 +0600
@@ -167,7 +167,7 @@
<!-- ========== Unit Test Targets ========================================= -->
- <target name="compile.tests" depends="compile, download-dependencies" description="Compile unit tests.">
+ <target name="compile.tests" depends="compile" description="Compile unit tests.">
<javac srcdir="${test.home}"
destdir="${build.home}/test-classes"
@@ -332,27 +332,5 @@
<target name="gump" depends="clean,test,javadoc,jar" description="Gump Target - clean,test,javadoc,jar"/>
-
-<!-- ========== Download Dependencies =========================================== -->
-
- <target name="download-dependencies"
- depends="check-availability" unless="skip.download">
- <echo message="doing download-dependencies..." />
- <antcall target="download-junit" />
- </target>
-
- <target name="check-availability">
- <echo message="doing check-availability..." />
- <available file="${junit.jar}" property="junit.found"/>
- </target>
-
- <target name="download-junit" unless="junit.found">
- <echo message="Downloading junit..."/>
- <mkdir dir="${download.lib.dir}" />
- <get dest="${download.lib.dir}/junit-${junit.version}.jar"
- usetimestamp="true" ignoreerrors="true"
- src="http://repo1.maven.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar"/>
- </target>
-
</project>