1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- add bash to RUN_DEPENDS

- change bash declare in patch

Approved by:	delphij (mentor)
This commit is contained in:
Tong LIU 2007-08-21 11:18:13 +00:00
parent 18c38bf81b
commit aa7a89a6fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=198062
3 changed files with 16 additions and 8 deletions

View File

@ -18,6 +18,8 @@ DISTNAME= ${PORTNAME}-bin-${PORTVERSION}
MAINTAINER= nemoliu@FreeBSD.org
COMMENT= An implementation of Ruby Interpreter in Pure Java
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.3+

View File

@ -2,7 +2,7 @@
+++ bin/jruby Fri Apr 6 14:00:13 2007
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
+#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# jruby.sh - Start Script for the JRuby interpreter
#

View File

@ -1,12 +1,18 @@
--- bin/jrubyc.orig Fri Apr 6 13:58:12 2007
+++ bin/jrubyc Fri Apr 6 14:00:36 2007
@@ -26,6 +26,9 @@
esac
--- bin/jrubyc.orig 2007-08-21 19:06:20.355621590 +0800
+++ bin/jrubyc 2007-08-21 19:08:23.020781206 +0800
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# jruby.sh - Start Script for the JRuby interpreter
#
@@ -27,6 +27,9 @@
# ----- Verify and Set Required Environment Variables -------------------------
+JAVA_HOME=%%JAVA_HOME%%
+JRUBY_HOME=%%JRUBY_HOME%
+
+JAVA_HOME=%%JAVA_HOME%%
+JRUBY_HOME=%%JRUBY_HOME%%
+
if [ -z "$JRUBY_HOME" ] ; then
## resolve links - $0 may be a link to home
PRG=$0