diff options
author | nemoliu <nemoliu@FreeBSD.org> | 2007-08-21 19:18:13 +0800 |
---|---|---|
committer | nemoliu <nemoliu@FreeBSD.org> | 2007-08-21 19:18:13 +0800 |
commit | 6b5f1ff2ead8d4dae2cbdb89953c577a70083602 (patch) | |
tree | ed5b32485af08f407ff0b1ea8fa38063a915261f /lang | |
parent | 8b2a651d6e48f9f5483eb43e10b9c3822cb2780f (diff) | |
download | freebsd-ports-graphics-6b5f1ff2ead8d4dae2cbdb89953c577a70083602.tar.gz freebsd-ports-graphics-6b5f1ff2ead8d4dae2cbdb89953c577a70083602.tar.zst freebsd-ports-graphics-6b5f1ff2ead8d4dae2cbdb89953c577a70083602.zip |
- add bash to RUN_DEPENDS
- change bash declare in patch
Approved by: delphij (mentor)
Diffstat (limited to 'lang')
-rw-r--r-- | lang/jruby/Makefile | 2 | ||||
-rw-r--r-- | lang/jruby/files/patch-jruby | 2 | ||||
-rw-r--r-- | lang/jruby/files/patch-jrubyc | 18 |
3 files changed, 15 insertions, 7 deletions
diff --git a/lang/jruby/Makefile b/lang/jruby/Makefile index 15e4238f04a..0554f6a2dcf 100644 --- a/lang/jruby/Makefile +++ b/lang/jruby/Makefile @@ -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+ diff --git a/lang/jruby/files/patch-jruby b/lang/jruby/files/patch-jruby index 566f3425310..4831309b138 100644 --- a/lang/jruby/files/patch-jruby +++ b/lang/jruby/files/patch-jruby @@ -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 # diff --git a/lang/jruby/files/patch-jrubyc b/lang/jruby/files/patch-jrubyc index 63d356dca4b..1ff862d24cf 100644 --- a/lang/jruby/files/patch-jrubyc +++ b/lang/jruby/files/patch-jrubyc @@ -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% ++JRUBY_HOME=%%JRUBY_HOME%% + - if [ -z "$JRUBY_HOME" ] ; then ## resolve links - $0 may be a link to home + PRG=$0 |