summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Bickel <mabi@gentoo.org>2010-05-13 21:13:34 +0000
committerMatti Bickel <mabi@gentoo.org>2010-05-13 21:13:34 +0000
commita1233cd687c5966c2102ae09f1d761254293ff6a (patch)
tree634ea75027e90f3285923a08f129a28f60f31985 /dev-java/sun-j2me-bin/files
parentsun-j2me-bin requires x86 java (now with correct atom string) (diff)
downloadgentoo-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.patch101
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
+
+