diff options
author | chuckr <chuckr@FreeBSD.org> | 2000-05-16 09:46:26 +0800 |
---|---|---|
committer | chuckr <chuckr@FreeBSD.org> | 2000-05-16 09:46:26 +0800 |
commit | 89f6994a7933e980442dc81391e7c1bbb4d6dc6a (patch) | |
tree | ac0b774a28fd19a6462ddc7f27e80b06acea2a80 /java/linux-jdk/files/patch-ab | |
parent | 9f477705bc8bf08684357e003714eb03c81a93cb (diff) | |
download | freebsd-ports-gnome-89f6994a7933e980442dc81391e7c1bbb4d6dc6a.tar.gz freebsd-ports-gnome-89f6994a7933e980442dc81391e7c1bbb4d6dc6a.tar.zst freebsd-ports-gnome-89f6994a7933e980442dc81391e7c1bbb4d6dc6a.zip |
This is the Linux JDK port. It's marked no package and no cdrom, so
there's no license problem, just allows a lot of java hackers in the game.
Thanks to Kees Koster and Jose Marques, I just neatened up around the
edges.
Submitted by: Kees Koster and Jose Marques
Diffstat (limited to 'java/linux-jdk/files/patch-ab')
-rw-r--r-- | java/linux-jdk/files/patch-ab | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/java/linux-jdk/files/patch-ab b/java/linux-jdk/files/patch-ab new file mode 100644 index 000000000000..6b00abfc04a1 --- /dev/null +++ b/java/linux-jdk/files/patch-ab @@ -0,0 +1,22 @@ +--- jre/bin/.java_wrapper.orig Mon Dec 6 14:12:44 1999 ++++ jre/bin/.java_wrapper Sat Jan 29 14:21:27 2000 +@@ -32,8 +32,8 @@ + # Resolve symlinks. See 4152645. + while [ -L "$PRG" ]; do + ls=`/bin/ls -ld "$PRG"` +- link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'` +- if /usr/bin/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="`/usr/bin/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 |