summaryrefslogtreecommitdiff
path: root/lang/openjdk7/patches/patch-langtools_make_build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'lang/openjdk7/patches/patch-langtools_make_build.xml')
-rw-r--r--lang/openjdk7/patches/patch-langtools_make_build.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/openjdk7/patches/patch-langtools_make_build.xml b/lang/openjdk7/patches/patch-langtools_make_build.xml
new file mode 100644
index 00000000000..3ed56313113
--- /dev/null
+++ b/lang/openjdk7/patches/patch-langtools_make_build.xml
@@ -0,0 +1,24 @@
+$NetBSD: patch-langtools_make_build.xml,v 1.1 2013/06/02 06:12:28 ryoon Exp $
+
+* Avoid *.orig files.
+
+--- langtools/make/build.xml.orig 2012-08-10 17:39:19.000000000 +0000
++++ langtools/make/build.xml
+@@ -235,7 +235,8 @@
+ </chmod>
+ <mkdir dir="${dist.lib.dir}"/>
+ <jar file="${dist.lib.dir}/classes.jar" basedir="${build.classes.dir}"/>
+- <zip file="${dist.lib.dir}/src.zip" basedir="${src.classes.dir}"/>
++ <zip file="${dist.lib.dir}/src.zip" basedir="${src.classes.dir}"
++ excludes="**/*.orig"/>
+ </target>
+
+ <target name="build-bootstrap-tools"
+@@ -804,6 +805,7 @@
+ <copy todir="@{classes.dir}" includeemptydirs="false">
+ <fileset dir="${src.classes.dir}" includes="@{includes}" excludes="@{excludes}">
+ <exclude name="**/*.java"/>
++ <exclude name="**/*.orig"/>
+ <exclude name="**/*.properties"/>
+ <exclude name="**/*-template"/>
+ <exclude name="**/*.rej"/>