mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
e8a49fd3ff
Hiroyuki Aizu <aizu@jaist.ac.jp>, build `vje' executable from the source. This should finally fix the memory leakage problem that has been reported by many users. :)
26 lines
851 B
Plaintext
26 lines
851 B
Plaintext
--- usr/local/vje30/bin/vjeacc.orig Tue Dec 28 03:00:00 1999
|
|
+++ usr/local/vje30/bin/vjeacc Thu Jan 11 21:28:59 2001
|
|
@@ -23,10 +23,18 @@
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VJE_HOME/lib
|
|
|
|
if [ $SysName = FreeBSD ]; then
|
|
- 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
|
|
- 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
|