aboutsummaryrefslogtreecommitdiffstats
path: root/java/linux-blackdown-jdk12
diff options
context:
space:
mode:
authorznerd <znerd@FreeBSD.org>2002-04-16 05:18:18 +0800
committerznerd <znerd@FreeBSD.org>2002-04-16 05:18:18 +0800
commit3fa04c6e2b6aa0b34781d83f06ef44ea3b8b527e (patch)
tree4cfe59987fe53e78e1d435fb8522d4755d696622 /java/linux-blackdown-jdk12
parent589ab39a562ae6fbbe9d79c36366ca9489c93b67 (diff)
downloadfreebsd-ports-gnome-3fa04c6e2b6aa0b34781d83f06ef44ea3b8b527e.tar.gz
freebsd-ports-gnome-3fa04c6e2b6aa0b34781d83f06ef44ea3b8b527e.tar.zst
freebsd-ports-gnome-3fa04c6e2b6aa0b34781d83f06ef44ea3b8b527e.zip
Re-adding patches to make scripts use the linux expr
and to use green iso linux threads by default. These patches were removed by me when I upgraded the port to FCS, but they should have been ported to this version of the port. Bumped PORTREVISION. Submitted by: glewis
Diffstat (limited to 'java/linux-blackdown-jdk12')
-rw-r--r--java/linux-blackdown-jdk12/Makefile2
-rw-r--r--java/linux-blackdown-jdk12/files/patch-aa22
-rw-r--r--java/linux-blackdown-jdk12/files/patch-ab22
3 files changed, 45 insertions, 1 deletions
diff --git a/java/linux-blackdown-jdk12/Makefile b/java/linux-blackdown-jdk12/Makefile
index 0d7ec1a52a4a..9c582e37de3f 100644
--- a/java/linux-blackdown-jdk12/Makefile
+++ b/java/linux-blackdown-jdk12/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jdk
PORTVERSION= 1.2.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= java devel
MASTER_SITES= ftp://ftp.tux.org/pub/java/JDK-${PORTVERSION}/${ARCH}/FCS/ \
http://www.metaverse.nl/~ernst/ \
diff --git a/java/linux-blackdown-jdk12/files/patch-aa b/java/linux-blackdown-jdk12/files/patch-aa
new file mode 100644
index 000000000000..9f6c6b8dd4bb
--- /dev/null
+++ b/java/linux-blackdown-jdk12/files/patch-aa
@@ -0,0 +1,22 @@
+--- bin/.java_wrapper.orig Fri Apr 12 17:03:39 2002
++++ bin/.java_wrapper Fri Apr 12 17:04:00 2002
+@@ -32,8 +32,8 @@
+ # Resolve symlinks. See 4152645.
+ while [ -L "$PRG" ]; do
+ ls=`ls -ld "$PRG"`
+- link=`expr "$ls" : '.*-> \(.*\)$'`
+- if expr "$link" : '/' > /dev/null; then
++ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
++ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
+ PRG="$link"
+ else
+ PRG="`dirname $PRG`/$link"
+@@ -65,7 +65,7 @@
+ # Select vm type (if classic vm, also select thread type).
+ unset vmtype
+ unset ttype
+-DEFAULT_THREADS_FLAG=native
++DEFAULT_THREADS_FLAG=green
+ if [ "x$1" = "x-hotspot" ]; then
+ vmtype=hotspot
+ ttype=native_threads
diff --git a/java/linux-blackdown-jdk12/files/patch-ab b/java/linux-blackdown-jdk12/files/patch-ab
new file mode 100644
index 000000000000..91029806f724
--- /dev/null
+++ b/java/linux-blackdown-jdk12/files/patch-ab
@@ -0,0 +1,22 @@
+--- jre/bin/.java_wrapper.orig Fri Apr 12 17:03:39 2002
++++ jre/bin/.java_wrapper Fri Apr 12 17:04:00 2002
+@@ -32,8 +32,8 @@
+ # Resolve symlinks. See 4152645.
+ while [ -L "$PRG" ]; do
+ ls=`ls -ld "$PRG"`
+- link=`expr "$ls" : '.*-> \(.*\)$'`
+- if expr "$link" : '/' > /dev/null; then
++ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
++ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
+ PRG="$link"
+ else
+ PRG="`dirname $PRG`/$link"
+@@ -65,7 +65,7 @@
+ # Select vm type (if classic vm, also select thread type).
+ unset vmtype
+ unset ttype
+-DEFAULT_THREADS_FLAG=native
++DEFAULT_THREADS_FLAG=green
+ if [ "x$1" = "x-hotspot" ]; then
+ vmtype=hotspot
+ ttype=native_threads