Dash:
[t2-trunk.git] / package / database / bdb-java / sun-friendly-dotjar.patch
blobc80c11befc2c26b3b0d81d9de7c6271f9dbe140b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../bdb-java/sun-friendly-dotjar.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 javac (at least from sun-jdk-142) can't find classes if they are zipped as ./foo instead
17 of just foo.
18 Alejandro
20 --- ./dist/Makefile.in.orig 2005-06-02 21:56:57.148479680 -0400
21 +++ ./dist/Makefile.in 2005-06-02 21:58:11.440425872 -0400
22 @@ -734,7 +734,7 @@
23 @test -d $(JAVA_CLASSTOP) || \
24 ($(mkdir) -p $(JAVA_CLASSTOP) && $(chmod) $(dmode) $(JAVA_CLASSTOP))
25 $(JAVAC) -d $(JAVA_CLASSTOP) $(JAVACFLAGS) $(JAVA_DBSRCS)
26 - cd $(JAVA_CLASSTOP) && $(JAR) cf ../$(libj_jarfile) ./com/sleepycat
27 + cd $(JAVA_CLASSTOP) && $(JAR) cf ../$(libj_jarfile) com/sleepycat
29 $(libj_exjarfile): $(libj_jarfile) $(JAVA_EXSRCS)
30 @test -d $(JAVA_EXCLASSTOP) || \
31 @@ -742,7 +742,7 @@
32 $(chmod) $(dmode) $(JAVA_EXCLASSTOP))
33 $(JAVAC) -classpath $(libj_jarfile) -d $(JAVA_EXCLASSTOP) \
34 $(JAVACFLAGS) $(JAVA_EXSRCS)
35 - cd $(JAVA_EXCLASSTOP) && $(JAR) cf ../$(libj_exjarfile) .
36 + cd $(JAVA_EXCLASSTOP) && $(JAR) cf ../$(libj_exjarfile) *
38 $(rpc_jarfile): $(libj_jarfile) $(RPC_JAVASRV_SRCS)
39 @test -d $(JAVA_RPCCLASSTOP) || \