freebsd-ports/java/linux-sun-jdk12/files/patch-aa
Ernst de Haan ddf8667538 Patches that solve the problem that expr and libjava.so
cannot be found.

Bumped PORTREVISION.

Submitted by:	glewis
2002-06-13 17:30:53 +00:00

15 lines
510 B
Text

$FreeBSD$
--- bin/.java_wrapper.orig Wed Mar 20 19:36:13 2002
+++ bin/.java_wrapper Thu Jun 13 11:10:56 2002
@@ -25,8 +25,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"