aboutsummaryrefslogtreecommitdiff
path: root/lang/jruby/files
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-04-25 03:03:50 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-04-25 03:03:50 +0000
commitb0a8dd13b49ff9553f185b341a746b585a8d25b6 (patch)
treed2a2e759352e5bbda5210394dace30fe7fa8fa1e /lang/jruby/files
parent8d23c00f820afb091d5f24553d1929d33630cf83 (diff)
Notes
Diffstat (limited to 'lang/jruby/files')
-rw-r--r--lang/jruby/files/patch-bin::jruby.sh7
-rw-r--r--lang/jruby/files/patch-jruby18
-rw-r--r--lang/jruby/files/patch-jrubyc12
3 files changed, 30 insertions, 7 deletions
diff --git a/lang/jruby/files/patch-bin::jruby.sh b/lang/jruby/files/patch-bin::jruby.sh
deleted file mode 100644
index 63278a12b7df..000000000000
--- a/lang/jruby/files/patch-bin::jruby.sh
+++ /dev/null
@@ -1,7 +0,0 @@
---- bin/jruby.sh.orig Fri Sep 13 05:24:44 2002
-+++ bin/jruby.sh Wed Oct 9 02:36:39 2002
-@@ -22,2 +22,4 @@
-
-+JRUBY_HOME="${JRUBY_HOME:-!!JRUBY_HOME!!}"
-+
- if [ -z "$JRUBY_HOME" ] ; then
diff --git a/lang/jruby/files/patch-jruby b/lang/jruby/files/patch-jruby
new file mode 100644
index 000000000000..566f3425310d
--- /dev/null
+++ b/lang/jruby/files/patch-jruby
@@ -0,0 +1,18 @@
+--- bin/jruby.orig Fri Apr 6 13:57:54 2007
++++ bin/jruby Fri Apr 6 14:00:13 2007
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+ # -----------------------------------------------------------------------------
+ # jruby.sh - Start Script for the JRuby interpreter
+ #
+@@ -26,6 +26,9 @@
+ esac
+
+ # ----- Verify and Set Required Environment Variables -------------------------
++JAVA_HOME=%%JAVA_HOME%%
++JRUBY_HOME=%%JRUBY_HOME%%
++
+
+ if [ -z "$JRUBY_HOME" ] ; then
+ ## resolve links - $0 may be a link to home
diff --git a/lang/jruby/files/patch-jrubyc b/lang/jruby/files/patch-jrubyc
new file mode 100644
index 000000000000..63d356dca4b1
--- /dev/null
+++ b/lang/jruby/files/patch-jrubyc
@@ -0,0 +1,12 @@
+--- bin/jrubyc.orig Fri Apr 6 13:58:12 2007
++++ bin/jrubyc Fri Apr 6 14:00:36 2007
+@@ -26,6 +26,9 @@
+ esac
+
+ # ----- Verify and Set Required Environment Variables -------------------------
++JAVA_HOME=%%JAVA_HOME%%
++JRUBY_HOME=%%JRUBY_HOME%
++
+
+ if [ -z "$JRUBY_HOME" ] ; then
+ ## resolve links - $0 may be a link to home