mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
30583d6916
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
23 lines
741 B
Plaintext
23 lines
741 B
Plaintext
--- bin/.java_wrapper.orig Mon Dec 6 14:12:44 1999
|
|
+++ bin/.java_wrapper Sat Jan 29 14:20:21 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
|