aboutsummaryrefslogtreecommitdiff
path: root/java/jdk16
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-03-11 10:36:27 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-03-11 10:36:27 +0000
commitefdbdc597498da86fa130417cda04e55997b155f (patch)
tree6cebe26269aacd4f03c97a40eb6d9b076b7417ba /java/jdk16
parent04d5ddaa46953e97840b8fab23258db40c12ec04 (diff)
downloadports-efdbdc597498da86fa130417cda04e55997b155f.tar.gz
ports-efdbdc597498da86fa130417cda04e55997b155f.zip
Notes
Diffstat (limited to 'java/jdk16')
-rw-r--r--java/jdk16/files/patch-common::Release.gmk26
1 files changed, 26 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-common::Release.gmk b/java/jdk16/files/patch-common::Release.gmk
new file mode 100644
index 000000000000..9ad3203816e6
--- /dev/null
+++ b/java/jdk16/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