diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-07-05 03:36:26 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-07-05 03:36:26 +0000 |
commit | 7afb8abffac2727be8eaf790c81e3761872a6f04 (patch) | |
tree | 1fd200f278cf66353b039133f21f324b7fc625ed | |
parent | a0f9595552dbd36f1f96ca5ea1a3399c05b4c9c6 (diff) | |
download | ports-7afb8abffac2727be8eaf790c81e3761872a6f04.tar.gz ports-7afb8abffac2727be8eaf790c81e3761872a6f04.zip |
Notes
-rw-r--r-- | japanese/vje30-trial/files/patch-aa | 23 | ||||
-rw-r--r-- | japanese/vje30/files/patch-aa | 23 |
2 files changed, 36 insertions, 10 deletions
diff --git a/japanese/vje30-trial/files/patch-aa b/japanese/vje30-trial/files/patch-aa index 9fbe521c4b96..ccb9e4b2a980 100644 --- a/japanese/vje30-trial/files/patch-aa +++ b/japanese/vje30-trial/files/patch-aa @@ -1,12 +1,25 @@ --- vje30/bin/vjeacc.orig Tue Dec 28 03:00:00 1999 -+++ vje30/bin/vjeacc Fri Jan 14 02:26:33 2000 -@@ -24,8 +24,7 @@ ++++ vje30/bin/vjeacc Wed Jul 5 12:26:22 2000 +@@ -23,10 +23,18 @@ + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VJE_HOME/lib if [ $SysName = FreeBSD ]; then - echo "1.1.n JDK/JRE" +- echo "1.1.n JDK/JRE" - export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/rt.jar:$JAVA_HOME/lib/i18n.jar - export CLASSPATH=$CLASSPATH:$VJE_HOME/bin/vjeacc.jar:$VJE_HOME/bin/swingall.jar -+ export CLASSPATH=$JAVA_HOME/lib/classes.zip:$SWING_HOME/swingall.jar:$VJE_HOME/bin/vjeacc.jar - jre jp.co.vacs.gimlet.Main $1 +- jre jp.co.vacs.gimlet.Main $1 ++ javaVer=`java -version 2>&1 | grep version` ++ case $javaVer in ++ *1.2*) ++ echo "1.2.x JDK/JRE" ++ java -cp $VJE_HOME/bin/vjeacc.jar jp.co.vacs.gimlet.Main $1 ++ ;; ++ *1.1*) ++ echo "1.1.x JDK/JRE" ++ export CLASSPATH=$JAVA_HOME/lib/classes.zip:$SWING_HOME/swingall.jar:$VJE_HOME/bin/vjeacc.jar ++ jre jp.co.vacs.gimlet.Main $1 ++ ;; ++ esac else lddOut=/tmp/ldd.vout.10 + java -version>/dev/null 2>$lddOut diff --git a/japanese/vje30/files/patch-aa b/japanese/vje30/files/patch-aa index 9fbe521c4b96..ccb9e4b2a980 100644 --- a/japanese/vje30/files/patch-aa +++ b/japanese/vje30/files/patch-aa @@ -1,12 +1,25 @@ --- vje30/bin/vjeacc.orig Tue Dec 28 03:00:00 1999 -+++ vje30/bin/vjeacc Fri Jan 14 02:26:33 2000 -@@ -24,8 +24,7 @@ ++++ vje30/bin/vjeacc Wed Jul 5 12:26:22 2000 +@@ -23,10 +23,18 @@ + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VJE_HOME/lib if [ $SysName = FreeBSD ]; then - echo "1.1.n JDK/JRE" +- echo "1.1.n JDK/JRE" - export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/rt.jar:$JAVA_HOME/lib/i18n.jar - export CLASSPATH=$CLASSPATH:$VJE_HOME/bin/vjeacc.jar:$VJE_HOME/bin/swingall.jar -+ export CLASSPATH=$JAVA_HOME/lib/classes.zip:$SWING_HOME/swingall.jar:$VJE_HOME/bin/vjeacc.jar - jre jp.co.vacs.gimlet.Main $1 +- jre jp.co.vacs.gimlet.Main $1 ++ javaVer=`java -version 2>&1 | grep version` ++ case $javaVer in ++ *1.2*) ++ echo "1.2.x JDK/JRE" ++ java -cp $VJE_HOME/bin/vjeacc.jar jp.co.vacs.gimlet.Main $1 ++ ;; ++ *1.1*) ++ echo "1.1.x JDK/JRE" ++ export CLASSPATH=$JAVA_HOME/lib/classes.zip:$SWING_HOME/swingall.jar:$VJE_HOME/bin/vjeacc.jar ++ jre jp.co.vacs.gimlet.Main $1 ++ ;; ++ esac else lddOut=/tmp/ldd.vout.10 + java -version>/dev/null 2>$lddOut |