summaryrefslogtreecommitdiff
path: root/packages/openjdk-langtools/files
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-11-07 16:37:40 +0100
committerRobert Schuster <thebohemian@gmx.net>2008-11-07 16:40:38 +0100
commit461b28671d10c4fd8c1967e00ef152d055815895 (patch)
tree01c97e8798d82efa58c0e90090a5229208121e73 /packages/openjdk-langtools/files
parentf1905259f95aadaaac08409eb75ac12aac93e1b7 (diff)
openjdk-langtools-native: New recipe.
Diffstat (limited to 'packages/openjdk-langtools/files')
-rw-r--r--packages/openjdk-langtools/files/0.0+jdk7-b31-build-fix.patch114
1 files changed, 114 insertions, 0 deletions
diff --git a/packages/openjdk-langtools/files/0.0+jdk7-b31-build-fix.patch b/packages/openjdk-langtools/files/0.0+jdk7-b31-build-fix.patch
new file mode 100644
index 0000000000..147dab520e
--- /dev/null
+++ b/packages/openjdk-langtools/files/0.0+jdk7-b31-build-fix.patch
@@ -0,0 +1,114 @@
+Index: icepick-0.0+hg20080118/Makefile.am
+===================================================================
+--- icepick-0.0+hg20080118.orig/Makefile.am
++++ icepick-0.0+hg20080118/Makefile.am
+@@ -19,55 +19,61 @@ else
+ JCOMPILER = echo "No compiler found" 1>&2; exit 1
+ endif
+
+-# All our example java source files
++# Go into $(LANGTOOLS_SRC_DIR)/src/share/classes and set
++# TOOLS_JAVA_FILES to the output of
++# find . -mindepth 2 -type d -and -not -wholename "*resources" -printf \$\(OPENJDK_CLASSES\)/%P/\*.java' \\'\\n
++# (btw: xclip is your friend)
+ OPENJDK_CLASSES = $(LANGTOOLS_SRC_DIR)/src/share/classes
+-TOOLS_JAVA_FILES = $(OPENJDK_CLASSES)/com/sun/tools/apt/Main.java \
+- $(OPENJDK_CLASSES)/com/sun/javadoc/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/apt/comp/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/apt/main/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/apt/util/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/apt/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/type/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/util/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/declaration/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/api/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/jvm/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/sym/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/code/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/comp/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/main/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/tree/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/util/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/model/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/parser/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/processing/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javac/zip/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javah/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/javadoc/*.java \
+- $(OPENJDK_CLASSES)/com/sun/mirror/apt/*.java \
+- $(OPENJDK_CLASSES)/com/sun/mirror/type/*.java \
+- $(OPENJDK_CLASSES)/com/sun/mirror/util/*.java \
+- $(OPENJDK_CLASSES)/com/sun/mirror/declaration/*.java \
+- $(OPENJDK_CLASSES)/com/sun/source/tree/*.java \
+- $(OPENJDK_CLASSES)/com/sun/source/util/*.java \
+- $(OPENJDK_CLASSES)/javax/lang/model/type/*.java \
+- $(OPENJDK_CLASSES)/javax/lang/model/util/*.java \
+- $(OPENJDK_CLASSES)/javax/lang/model/*.java \
+- $(OPENJDK_CLASSES)/javax/lang/model/element/*.java \
+- $(OPENJDK_CLASSES)/javax/tools/*.java \
+- $(OPENJDK_CLASSES)/javax/annotation/processing/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/formats/html/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/formats/html/markup/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/builders/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/taglets/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/links/*.java \
+- $(OPENJDK_CLASSES)/com/sun/tools/doclets/standard/*.java \
+- $(OPENJDK_CLASSES)/sun/tools/javap/*.java
++TOOLS_JAVA_FILES = \
++ $(OPENJDK_CLASSES)/sun/tools/javap/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javap/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javadoc/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/comp/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/util/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/main/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/declaration/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/apt/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/util/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/type/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javah/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/comp/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/file/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/model/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/code/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/tree/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/api/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/util/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/jvm/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/processing/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/parser/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/sym/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/javac/main/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/classfile/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/standard/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/builders/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/links/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/taglets/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/formats/html/*.java \
++ $(OPENJDK_CLASSES)/com/sun/tools/doclets/formats/html/markup/*.java \
++ $(OPENJDK_CLASSES)/com/sun/javadoc/*.java \
++ $(OPENJDK_CLASSES)/com/sun/source/tree/*.java \
++ $(OPENJDK_CLASSES)/com/sun/source/util/*.java \
++ $(OPENJDK_CLASSES)/com/sun/mirror/declaration/*.java \
++ $(OPENJDK_CLASSES)/com/sun/mirror/apt/*.java \
++ $(OPENJDK_CLASSES)/com/sun/mirror/util/*.java \
++ $(OPENJDK_CLASSES)/com/sun/mirror/type/*.java \
++ $(OPENJDK_CLASSES)/javax/tools/*.java \
++ $(OPENJDK_CLASSES)/javax/annotation/processing/*.java \
++ $(OPENJDK_CLASSES)/javax/lang/model/*.java \
++ $(OPENJDK_CLASSES)/javax/lang/model/element/*.java \
++ $(OPENJDK_CLASSES)/javax/lang/model/util/*.java \
++ $(OPENJDK_CLASSES)/javax/lang/model/type/*.java
+
+ # The zip files with classes we want to produce.
+ TOOLS_ZIP = tools.jar