diff options
| author | Mikhail Teterin <mi@FreeBSD.org> | 2012-06-12 20:00:27 +0000 |
|---|---|---|
| committer | Mikhail Teterin <mi@FreeBSD.org> | 2012-06-12 20:00:27 +0000 |
| commit | 9851c6325c546cb63ddfad2dff6db7fce88ee0b3 (patch) | |
| tree | a689687cdfc8f3d55cd23269bacf87be528e2fbb /java/jode/files | |
| parent | - Use appropriate variables instead of hard coding a path (diff) | |
Either linimon@ in 2011 or hq@ in 2006 broke the wrapper-script -- the
%%JAVA_VERSION%% inserted into it was never expanded...
Now that we aren't using JDK-1.{3,4} anyway, the setting of JAVA_VERSION
is, probably, redundant. Remove it and bump PORTREVISION.
While here, declare the port as unsafe for parallel building. Unfortunately.
Diffstat (limited to 'java/jode/files')
| -rw-r--r-- | java/jode/files/patch-bin-jode | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/jode/files/patch-bin-jode b/java/jode/files/patch-bin-jode index a5e07eca4f32..4f5f689cf777 100644 --- a/java/jode/files/patch-bin-jode +++ b/java/jode/files/patch-bin-jode @@ -5,7 +5,7 @@ -prefix=@prefix@ case $1 in -@@ -9,6 +8,7 @@ +@@ -9,6 +8,6 @@ esac +# This will only set CP if CLASSPATH is non-empty: @@ -14,5 +14,4 @@ -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 "$@" ++exec @prefix@/bin/java -cp @datadir@/jode-@VERSION@.jar:@datadir@/getopt.jar $CLAZZ $CP "$@" |
