mirror of
https://git.freebsd.org/ports.git
synced 2025-06-18 11:10:32 -04:00
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
18 lines
540 B
Text
18 lines
540 B
Text
--- bin/jode.in Mon Oct 2 09:08:36 2000
|
|
+++ bin/jode.in Tue Jun 24 16:13:17 2003
|
|
@@ -1,4 +1,3 @@
|
|
#!@SHELL@
|
|
-prefix=@prefix@
|
|
|
|
case $1 in
|
|
@@ -9,6 +8,7 @@
|
|
esac
|
|
|
|
+# This will only set CP if CLASSPATH is non-empty:
|
|
+CP=`echo $CLASSPATH | sed -e 's/:/,/g' -e 's/..*/--classpath &/'`
|
|
|
|
-CP=`echo $CLASSPATH | sed s/:/,/`
|
|
-CLASSPATH=@datadir@/jode-@VERSION@.jar:@CLASSPATH@ \
|
|
-@JAVA@ $CLAZZ --classpath $CP $*
|
|
+JAVA_VERSION="%%JAVA_VERSION%%" exec @prefix@/bin/java -cp @datadir@/jode-@VERSION@.jar:@datadir@/getopt.jar \
|
|
+ $CLAZZ $CP "$@"
|