aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk13
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-03-11 18:36:27 +0800
committerznerd <znerd@FreeBSD.org>2002-03-11 18:36:27 +0800
commit9a95af3677ea6afd31bda11fc4fcff18f3c393ff (patch)
treeab21be2a55fc029d80ac617957d507f8b87060eb /java/jdk13
parent0138b1f17fa42d9aaa6bd00ef64a3b2dd913a308 (diff)
downloadfreebsd-ports-graphics-9a95af3677ea6afd31bda11fc4fcff18f3c393ff.tar.gz
freebsd-ports-graphics-9a95af3677ea6afd31bda11fc4fcff18f3c393ff.tar.zst
freebsd-ports-graphics-9a95af3677ea6afd31bda11fc4fcff18f3c393ff.zip
Fixes the problem that the source JAR is too small.
Submitted by: Greg Lewis PR: ports/35658
Diffstat (limited to 'java/jdk13')
-rw-r--r--java/jdk13/files/patch-common::Release.gmk26
1 files changed, 26 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-common::Release.gmk b/java/jdk13/files/patch-common::Release.gmk
new file mode 100644
index 00000000000..9ad3203816e
--- /dev/null
+++ b/java/jdk13/files/patch-common::Release.gmk
@@ -0,0 +1,26 @@
+Index: Release.gmk
+===================================================================
+RCS file: /data/java/JDK2/javasrc_1_3_scsl/j2sdk1.3.1/make/common/Release.gmk,v
+retrieving revision 1.7
+diff -u -r1.7 common/Release.gmk
+--- common/Release.gmk 21 Jan 2002 22:40:08 -0000 1.7
++++ common/Release.gmk 9 Mar 2002 18:01:51 -0000
+@@ -521,10 +521,18 @@
+ @# src.jar
+ @#
+ $(MKDIR) -p $(JDK_IMAGE_DIR)/src
++ifeq ($(PLATFORM), bsd)
++ # Avoid the "argument list too long" problem.
++ ($(CD) $(SHARE_SRC)/classes; \
++ for list in `$(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o -name '*.java' -print`; do \
++ $(TAR) cf - $$list | ($(CD) $(JDK_IMAGE_DIR)/src; $(TAR) xvf -); \
++ done)
++else
+ ($(CD) $(SHARE_SRC)/classes; $(TAR) cf - \
+ `$(FIND) $(SOURCES) -name CVS -prune -o -name SCCS -prune -o \
+ -name '*.java' -print`)| \
+ ($(CD) $(JDK_IMAGE_DIR)/src; $(TAR) xvf -)
++endif
+ @# We do not want to ship this, it isn't part of the build yet.
+ $(RM) -r $(JDK_IMAGE_DIR)/src/javax/swing/pending
+ $(MKDIR) -p $(JDK_IMAGE_DIR)/src/launcher