From f0b814dddb1b74c91fd54af412ad356fc68be4a2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 6 Aug 2011 17:04:28 +0200 Subject: really compile openadk without host java and ant --- jtools/classpath/patches/classpath-fix.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 jtools/classpath/patches/classpath-fix.patch (limited to 'jtools/classpath/patches') diff --git a/jtools/classpath/patches/classpath-fix.patch b/jtools/classpath/patches/classpath-fix.patch new file mode 100644 index 000000000..e03eb2342 --- /dev/null +++ b/jtools/classpath/patches/classpath-fix.patch @@ -0,0 +1,12 @@ +diff -Nur classpath-0.98.orig//lib/Makefile.in classpath-0.98/lib/Makefile.in +--- classpath-0.98.orig//lib/Makefile.in 2009-02-06 02:01:32.000000000 +0100 ++++ classpath-0.98/lib/Makefile.in 2011-08-05 22:55:25.965284504 +0200 +@@ -272,7 +272,7 @@ + uudecode = @uudecode@ + vm_classes = @vm_classes@ + JAVA_DEPEND = java.dep +-compile_classpath = $(vm_classes):$(top_srcdir):$(top_srcdir)/external/w3c_dom:$(top_srcdir)/external/sax:$(top_srcdir)/external/relaxngDatatype:$(top_srcdir)/external/jsr166:.:$(PATH_TO_GLIBJ_ZIP):$(PATH_TO_ESCHER) ++compile_classpath = $(vm_classes) -cp $(top_srcdir) -cp $(top_srcdir)/external/w3c_dom -cp $(top_srcdir)/external/sax -cp $(top_srcdir)/external/relaxngDatatype -cp $(top_srcdir)/external/jsr166 -cp . -cp $(PATH_TO_GLIBJ_ZIP) -cp $(PATH_TO_ESCHER) + @GCJ_JAVAC_FALSE@JCOMPILER = $(JAVAC) $(JAVACFLAGS) $(JAVAC_MEM_OPT) -source 1.5 -target 1.5 -bootclasspath '' -classpath $(compile_classpath) -d . @classes + + # handling source to bytecode compiler programs like gcj, jikes and kjc -- cgit v1.2.3