openbsd-ports/lang/jruby/patches/patch-bin_jruby_bash
jeremy d23f1df8b3 Update jruby to 1.6.0. This version adds ruby 1.9 syntax support,
as well as experimental C extension support, and many other
significant new features.

Bump required memory to 384MB, should fix occassional memory
errors when building.

Use the jruby-complete.jar instead of the jruby.jar, seems
to be necessary for C extension support to work correctly.

RSpec is no longer bundled.  Additionally, the extra 1.5.3
distfile is no longer needed as the changes have been included
upstream.

OK landry@
2011-03-18 23:01:22 +00:00

18 lines
585 B
Plaintext

$OpenBSD: patch-bin_jruby_bash,v 1.1 2011/03/18 23:01:22 jeremy Exp $
--- bin/jruby.bash.orig Tue Feb 8 11:26:58 2011
+++ bin/jruby.bash Tue Feb 8 11:28:11 2011
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!${TRUEPREFIX}/bin/bash
# -----------------------------------------------------------------------------
# jruby.bash - 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)
JAVA_VM=-client
## resolve links - $0 may be a link to home