diff options
| author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-04-26 18:15:42 +0000 |
|---|---|---|
| committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-04-26 18:15:42 +0000 |
| commit | cbb1a89d22086e8c3860ca9c8faa03e7209b66a6 (patch) | |
| tree | 69cc8ea97942042454ba608d23f874693aefcd75 /math/jakarta-commons-math/files | |
| parent | - Update to 3.2 (diff) | |
- Add LICENSE
- Fix build
- Converted to new options framework
- Support STAGEDIR
PR: ports/188820
Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
Diffstat (limited to 'math/jakarta-commons-math/files')
| -rw-r--r-- | math/jakarta-commons-math/files/patch-build.xml | 46 |
1 files changed, 37 insertions, 9 deletions
diff --git a/math/jakarta-commons-math/files/patch-build.xml b/math/jakarta-commons-math/files/patch-build.xml index 979022a68fd9..8e8037238c28 100644 --- a/math/jakarta-commons-math/files/patch-build.xml +++ b/math/jakarta-commons-math/files/patch-build.xml @@ -1,11 +1,39 @@ ---- build.xml.orig 2012-03-26 01:38:37.000000000 +0600 -+++ build.xml 2012-03-26 01:38:56.000000000 +0600 -@@ -36,7 +36,7 @@ - <!-- Junit --> - <property name="junit.version" value="4.8.2"/> - <property name="junit.home" value="/usr/share/junit"/> -- <property name="junit.jar" value="${junit.home}/junit-${junit.version}.jar"/> -+ <property name="junit.jar" value="${junit.home}/junit.jar"/> +--- 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> - <!-- ========== Component Declarations ==================================== --> |
