$OpenBSD: patch-src_org_jruby_libraries_RbConfigLibrary_java,v 1.1 2008/07/21 11:17:33 bernd Exp $
--- src/org/jruby/libraries/RbConfigLibrary.java.orig	Sat Jul 19 07:10:14 2008
+++ src/org/jruby/libraries/RbConfigLibrary.java	Sun Jul 20 11:02:42 2008
@@ -111,7 +111,7 @@ public class RbConfigLibrary implements Library {
         } else {
             normalizedHome = runtime.getJRubyHome();
         }
-        setConfig(configHash, "bindir", new NormalizedFile(normalizedHome, "bin").getPath());
+        setConfig(configHash, "bindir", "${PREFIX}/bin");
         setConfig(configHash, "RUBY_INSTALL_NAME", jrubyScript());
         setConfig(configHash, "ruby_install_name", jrubyScript());
         setConfig(configHash, "SHELL", jrubyShell());
