From 6450de95965a45b97219202c0a590da46cbcfc68 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Mon, 29 Sep 2003 11:39:22 +0000 Subject: New port: java/linux-blackdown-jre11: Blackdown Linux JRE 1.1.8 Blackdown Linux Java Runtime Environment 1.1.8 It is needed for running Oracle for Linux PR: ports/56738 Submitted by: Simun Mikecin --- java/linux-blackdown-jre11/files/patch-aa | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 java/linux-blackdown-jre11/files/patch-aa (limited to 'java/linux-blackdown-jre11/files/patch-aa') diff --git a/java/linux-blackdown-jre11/files/patch-aa b/java/linux-blackdown-jre11/files/patch-aa new file mode 100644 index 000000000000..95e954306a93 --- /dev/null +++ b/java/linux-blackdown-jre11/files/patch-aa @@ -0,0 +1,26 @@ +--- bin/.java_wrapper.orig Fri Sep 12 19:54:03 2003 ++++ bin/.java_wrapper Fri Sep 12 19:54:43 2003 +@@ -7,19 +7,19 @@ + + # Set up default variable values if not supplied by the user. + +-PRG=`type -p $0` >/dev/null 2>&1 ++PRG=$0 + # If PRG is a symlink, trace it to the real home directory + + while [ -L "$PRG" ] + do +- newprg=`expr "\`/bin/ls -l "$PRG"\`" : ".*$PRG -> \(.*\)"` +- expr "$newprg" : / >/dev/null || newprg="`dirname $PRG`/$newprg" ++ newprg=`/compat/linux/usr/bin/expr "\`/bin/ls -l "$PRG"\`" : ".*$PRG -> \(.*\)"` ++ /compat/linux/usr/bin/expr "$newprg" : / >/dev/null || newprg="`dirname $PRG`/$newprg" + PRG="$newprg" + done + + J_HOME=`dirname $PRG`/.. + progname=`basename $0` +-ARCH=`arch` ++ARCH=`uname -m` + + # The default THREADS_TYPE is "green_threads". To change the default change + # the setting of the DEFAULT_THREADS_FLAG variable. The only valid values -- cgit v1.2.3