summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-24 00:54:52 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-24 00:54:52 +0000
commit48752d57af88743ed63aee056c44ab6239f56138 (patch)
tree9c2960e20d2d9c0507ff8562e88adef394fa5c67 /dev-java/jruby/files
parentCleanup, set the fakegem name, so that the spec file is generated correctly, ... (diff)
downloadgentoo-2-48752d57af88743ed63aee056c44ab6239f56138.tar.gz
gentoo-2-48752d57af88743ed63aee056c44ab6239f56138.tar.bz2
gentoo-2-48752d57af88743ed63aee056c44ab6239f56138.zip
Add patch to fix one further issue (don't revbump just yet).
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jruby/files')
-rw-r--r--dev-java/jruby/files/jruby-1.4.0-bindir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-java/jruby/files/jruby-1.4.0-bindir.patch b/dev-java/jruby/files/jruby-1.4.0-bindir.patch
new file mode 100644
index 000000000000..cf736a62efca
--- /dev/null
+++ b/dev-java/jruby/files/jruby-1.4.0-bindir.patch
@@ -0,0 +1,13 @@
+Index: jruby-1.4.0/src/org/jruby/libraries/RbConfigLibrary.java
+===================================================================
+--- jruby-1.4.0.orig/src/org/jruby/libraries/RbConfigLibrary.java
++++ jruby-1.4.0/src/org/jruby/libraries/RbConfigLibrary.java
+@@ -113,7 +113,7 @@ public class RbConfigLibrary implements
+ } else {
+ normalizedHome = runtime.getJRubyHome();
+ }
+- setConfig(configHash, "bindir", new NormalizedFile(normalizedHome, "bin").getPath());
++ setConfig(configHash, "bindir", "/usr/bin");
+ setConfig(configHash, "RUBY_INSTALL_NAME", jrubyScript());
+ setConfig(configHash, "ruby_install_name", jrubyScript());
+ setConfig(configHash, "SHELL", jrubyShell());