diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2003-02-07 21:26:20 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2003-02-07 21:26:20 +0000 |
commit | b77d7e4e498295b9b5cde81a4563cfc7e806464e (patch) | |
tree | c2d09f9c5778d61b8619e19274bd15ddc3ba3ca2 /java/linux-blackdown-jdk13/files/patch-jre::bin::.java_wrapper | |
parent | Update to 0.3.9. (diff) |
. Apply similar patches to those applied to the linux-sun-jdk13 port so
that this port works out of the box:
. Use the linux version of expr in the .java_wrapper scripts.
. Use the Classic VM by default, not HotSpot (which is unhappy with
the emulation layer).
. Bump PORT_REVISION.
Approved by: znerd
Diffstat (limited to 'java/linux-blackdown-jdk13/files/patch-jre::bin::.java_wrapper')
-rw-r--r-- | java/linux-blackdown-jdk13/files/patch-jre::bin::.java_wrapper | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/linux-blackdown-jdk13/files/patch-jre::bin::.java_wrapper b/java/linux-blackdown-jdk13/files/patch-jre::bin::.java_wrapper new file mode 100644 index 000000000000..f69142ae4de4 --- /dev/null +++ b/java/linux-blackdown-jdk13/files/patch-jre::bin::.java_wrapper @@ -0,0 +1,13 @@ +--- jre/bin/.java_wrapper.orig Mon Jan 27 13:48:43 2003 ++++ jre/bin/.java_wrapper Mon Jan 27 13:48:54 2003 +@@ -39,8 +39,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}" |