diff options
author | knu <knu@FreeBSD.org> | 2000-07-05 11:36:26 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-07-05 11:36:26 +0800 |
commit | a7ed372c58e6055a2f18bd679ece3f4763e594cb (patch) | |
tree | 66b431426536133d8c61b2fdd34615e65547cd43 /japanese/vje30 | |
parent | 867808644537ad8536edbb952e9e4f10bb9eb898 (diff) | |
download | freebsd-ports-gnome-a7ed372c58e6055a2f18bd679ece3f4763e594cb.tar.gz freebsd-ports-gnome-a7ed372c58e6055a2f18bd679ece3f4763e594cb.tar.zst freebsd-ports-gnome-a7ed372c58e6055a2f18bd679ece3f4763e594cb.zip |
Add support for out native JDK 1.2.
Submitted by: Daichi T.GOTO <daichi@ongs.net>
Diffstat (limited to 'japanese/vje30')
-rw-r--r-- | japanese/vje30/files/patch-aa | 23 |
1 files changed, 18 insertions, 5 deletions
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 |