mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
REINPLACE-ing was required to turn all variables named `enum' into `enumeration', because `enum' is a keyword in Java-1.5 The program seems to work now and builds with Java-1.5 (and, presumably, earlier). The portversion is set to 1.1.1.1 in anticipation of the eventual release of 1.1.2 by the vendor.
18 lines
495 B
Text
18 lines
495 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 $*
|
|
+exec java -cp @datadir@/jode-@VERSION@.jar:@datadir@/getopt.jar \
|
|
+ $CLAZZ $CP "$@"
|