freebsd-ports/java/linux-blackdown-jdk13/files/patch-bin::.java_wrapper
Greg Lewis b77d7e4e49 . 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
2003-02-07 21:26:20 +00:00

14 lines
485 B
Plaintext

--- bin/.java_wrapper.orig Mon Jan 27 13:47:44 2003
+++ bin/.java_wrapper Mon Jan 27 13:48:36 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}"