openbsd-ports/lang/jruby/patches/patch-bin_jruby_sh
jeremy b53b55b831 Update lang/jruby from 1.3.1 to 1.5.3. Numerous improvements including
performance increases and ruby 1.8.7 support. ffi support now works in
simple cases.  It now works on amd64 as well.  I'm taking over
maintenance from bernd@.

ok landry
2010-10-28 01:45:44 +00:00

18 lines
568 B
Plaintext

$OpenBSD: patch-bin_jruby_sh,v 1.1 2010/10/28 01:45:44 jeremy Exp $
--- bin/jruby.sh.orig Tue Sep 28 10:18:35 2010
+++ bin/jruby.sh Thu Oct 21 04:53:25 2010
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!${TRUEPREFIX}/bin/bash
# -----------------------------------------------------------------------------
# jruby.sh - Start Script for the JRuby interpreter
#
@@ -20,6 +20,7 @@ case "`uname`" in
esac
# ----- Verify and Set Required Environment Variables -------------------------
+JAVA_HOME=$(javaPathHelper -h jruby)
## resolve links - $0 may be a link to home
PRG=$0