summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/apache-ant
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-09-24 14:50:42 +0000
committerLudovic Courtès <ludo@gnu.org>2009-09-24 14:50:42 +0000
commitc1f7e5ff90e178cbe9324001c42ebc1934a538b5 (patch)
treed477719cf84588d9a6148a23a4a7cf4755a7c7c1 /pkgs/development/tools/build-managers/apache-ant
parent18e946cb9d89b80bdd69fb1023134e7dee0d8606 (diff)
downloadnixlib-c1f7e5ff90e178cbe9324001c42ebc1934a538b5.tar
nixlib-c1f7e5ff90e178cbe9324001c42ebc1934a538b5.tar.gz
nixlib-c1f7e5ff90e178cbe9324001c42ebc1934a538b5.tar.bz2
nixlib-c1f7e5ff90e178cbe9324001c42ebc1934a538b5.tar.lz
nixlib-c1f7e5ff90e178cbe9324001c42ebc1934a538b5.tar.xz
nixlib-c1f7e5ff90e178cbe9324001c42ebc1934a538b5.tar.zst
nixlib-c1f7e5ff90e178cbe9324001c42ebc1934a538b5.zip
ant-gcj: Add missing file.
svn path=/nixpkgs/trunk/; revision=17402
Diffstat (limited to 'pkgs/development/tools/build-managers/apache-ant')
-rw-r--r--pkgs/development/tools/build-managers/apache-ant/use-gcj.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/development/tools/build-managers/apache-ant/use-gcj.patch b/pkgs/development/tools/build-managers/apache-ant/use-gcj.patch
new file mode 100644
index 000000000000..db82d3ba689e
--- /dev/null
+++ b/pkgs/development/tools/build-managers/apache-ant/use-gcj.patch
@@ -0,0 +1,18 @@
+Setting `java.compiler' or `build.compiler' in `build.properties' isn't enough.
+
+--- apache-ant-1.7.1/build.xml	2008-06-27 07:05:23.000000000 +0200
++++ apache-ant-1.7.1/build.xml	2009-09-24 15:10:53.000000000 +0200
+@@ -578,12 +578,7 @@
+       classname="com.jcraft.jsch.Session"
+       classpathref="classpath"/>
+ 
+-    <condition property="build.compiler" value="classic">
+-      <not>
+-        <isset property="jdk1.3+"/>
+-      </not>
+-    </condition>
+-    <property name="build.compiler" value="modern"/>
++    <property name="build.compiler" value="gcj"/>
+ 
+     <!--check for XSD support in the parser-->
+     <condition property="xmlschema.present">