diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-09-10 15:01:53 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-09-10 15:01:53 +0000 |
commit | 04a7f54913dd5df5be69b3aa5dcf0415f711d691 (patch) | |
tree | 1f54121c3f5da137c13919900008d9ee8b85398f /databases/jakarta-commons-dbutils/files/patch-build.xml | |
parent | - Mark www/wordpress and german/wordpress as safe (diff) |
- Use ant and junit from ports instead of self-downloading old versions
- Fix build
Reported by: QA Tindie
Approved by: portmgr
Diffstat (limited to '')
-rw-r--r-- | databases/jakarta-commons-dbutils/files/patch-build.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/databases/jakarta-commons-dbutils/files/patch-build.xml b/databases/jakarta-commons-dbutils/files/patch-build.xml new file mode 100644 index 000000000000..ce9260c3b4d0 --- /dev/null +++ b/databases/jakarta-commons-dbutils/files/patch-build.xml @@ -0,0 +1,43 @@ +--- build.xml.orig 2008-09-10 14:27:27.000000000 +0200 ++++ build.xml 2008-09-10 14:28:28.000000000 +0200 +@@ -24,7 +24,7 @@ + <project default="jar" name="commons-dbutils" basedir="."> + <property name="defaulttargetdir" value="target"> + </property> +- <property name="libdir" value="target/lib"> ++ <property name="libdir" value="%%JAVALIBDIR%%"> + </property> + <property name="classesdir" value="target/classes"> + </property> +@@ -39,14 +39,12 @@ + <property name="final.name" value="commons-dbutils-1.1"> + </property> + <target name="init" description="o Initializes some properties"> +- <mkdir dir="${libdir}"> +- </mkdir> + <condition property="noget"> + <equals arg2="only" arg1="${build.sysclasspath}"> + </equals> + </condition> + </target> +- <target name="compile" description="o Compile the code" depends="get-deps"> ++ <target name="compile" description="o Compile the code"> + <mkdir dir="${classesdir}"> + </mkdir> + <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html"> +@@ -152,15 +150,4 @@ + </classpath> + </javadoc> + </target> +- <target name="get-deps" unless="noget" depends="init"> +- <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar"> +- </get> +- <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar"> +- </get> +- <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar"> +- </get> +- <echo message="Pay no attention if there is a subsequent warning if building under JDK 1.4+"/> +- <copy file="lib/jdbc2_0-stdext.jar" todir="${libdir}" failonerror="false"> +- </copy> +- </target> + </project> |