diff options
author | Matti Bickel <mabi@gentoo.org> | 2010-05-13 21:13:34 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2010-05-13 21:13:34 +0000 |
commit | a1233cd687c5966c2102ae09f1d761254293ff6a (patch) | |
tree | 634ea75027e90f3285923a08f129a28f60f31985 /dev-java/sun-j2me-bin/files | |
parent | sun-j2me-bin requires x86 java (now with correct atom string) (diff) | |
download | gentoo-2-a1233cd687c5966c2102ae09f1d761254293ff6a.tar.gz gentoo-2-a1233cd687c5966c2102ae09f1d761254293ff6a.tar.bz2 gentoo-2-a1233cd687c5966c2102ae09f1d761254293ff6a.zip |
bump
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/sun-j2me-bin/files')
-rw-r--r-- | dev-java/sun-j2me-bin/files/java-config.patch | 101 |
1 files changed, 101 insertions, 0 deletions
diff --git a/dev-java/sun-j2me-bin/files/java-config.patch b/dev-java/sun-j2me-bin/files/java-config.patch new file mode 100644 index 000000000000..6905b9fc207d --- /dev/null +++ b/dev-java/sun-j2me-bin/files/java-config.patch @@ -0,0 +1,101 @@ +--- bin/ktoolbar 2008-02-08 19:49:45.000000000 +0100 ++++ bin/ktoolbar 2008-02-08 20:19:57.000000000 +0100 +@@ -1,6 +1,10 @@ + #!/bin/sh + +-javapathtowtk=`java-config --jdk-home`"/bin/" ++if [ "`uname -m`" = "x86_64" ]; then ++ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/" ++else ++ javapathtowtk=`java-config --jdk-home`"/bin/" ++fi + + PRG=$0 + +--- bin/prefs 2008-02-08 19:49:45.000000000 +0100 ++++ bin/prefs 2008-02-08 20:19:57.000000000 +0100 +@@ -1,6 +1,10 @@ + #!/bin/sh + +-javapathtowtk=`java-config --jdk-home`"/bin/" ++if [ "`uname -m`" = "x86_64" ]; then ++ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/" ++else ++ javapathtowtk=`java-config --jdk-home`"/bin/" ++fi + + PRG=$0 + +--- bin/utils 2008-02-08 19:49:45.000000000 +0100 ++++ bin/utils 2008-02-08 20:19:57.000000000 +0100 +@@ -1,6 +1,10 @@ + #!/bin/sh + +-javapathtowtk=`java-config --jdk-home`"/bin/" ++if [ "`uname -m`" = "x86_64" ]; then ++ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/" ++else ++ javapathtowtk=`java-config --jdk-home`"/bin/" ++fi + + PRG=$0 + +--- bin/wscompile 2008-02-08 19:49:45.000000000 +0100 ++++ bin/wscompile 2008-02-08 20:19:57.000000000 +0100 +@@ -1,6 +1,10 @@ + #!/bin/sh + +-javapathtowtk=`java-config --jdk-home`"/bin/" ++if [ "`uname -m`" = "x86_64" ]; then ++ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/" ++else ++ javapathtowtk=`java-config --jdk-home`"/bin/" ++fi + + PRG=$0 + + +--- bin/mekeytool 2008-02-08 19:49:45.000000000 +0100 ++++ bin/mekeytool 2008-02-08 20:19:57.000000000 +0100 +@@ -1,6 +1,10 @@ + #!/bin/sh + +-javapathtowtk=`java-config --jdk-home`"/bin/" ++if [ "`uname -m`" = "x86_64" ]; then ++ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/" ++else ++ javapathtowtk=`java-config --jdk-home`"/bin/" ++fi + + PRG=$0 + +--- bin/emulator 2008-02-08 19:49:45.000000000 +0100 ++++ bin/emulator 2008-02-08 20:19:57.000000000 +0100 +@@ -1,6 +1,10 @@ + #!/bin/sh + +-javapathtowtk=`java-config --jdk-home`"/bin/" ++if [ "`uname -m`" = "x86_64" ]; then ++ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/" ++else ++ javapathtowtk=`java-config --jdk-home`"/bin/" ++fi + + PRG=$0 + + +--- bin/defaultdevice 2008-02-08 19:49:45.000000000 +0100 ++++ bin/defaultdevice 2008-02-08 20:19:57.000000000 +0100 +@@ -1,6 +1,10 @@ + #!/bin/sh + +-javapathtowtk=`java-config --jdk-home`"/bin/" ++if [ "`uname -m`" = "x86_64" ]; then ++ javapathtowtk=`java-config --select-vm=emul-linux-x86-java --jdk-home`"/bin/" ++else ++ javapathtowtk=`java-config --jdk-home`"/bin/" ++fi + + PRG=$0 + + |