diff options
author | rafan <rafan@FreeBSD.org> | 2009-01-04 16:34:01 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2009-01-04 16:34:01 +0800 |
commit | e261585ba293458a1472f5a899ee5f53cdf03f46 (patch) | |
tree | e677c1a6248c032b19ea96dbda880eb5794174b7 /lang/clojure | |
parent | 76e60be16d87040ccbde31884f7c57186d20df56 (diff) | |
download | freebsd-ports-graphics-e261585ba293458a1472f5a899ee5f53cdf03f46.tar.gz freebsd-ports-graphics-e261585ba293458a1472f5a899ee5f53cdf03f46.tar.zst freebsd-ports-graphics-e261585ba293458a1472f5a899ee5f53cdf03f46.zip |
- Respect CLASSPATH from environment variable
- Bump PORTREVISION
PR: ports/130134
Submitted by: Peter Schuller <peter.schuller at infidyne.com> (maintainer)
Diffstat (limited to 'lang/clojure')
-rw-r--r-- | lang/clojure/Makefile | 1 | ||||
-rw-r--r-- | lang/clojure/files/clojure-bin.in | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/clojure/Makefile b/lang/clojure/Makefile index 577262b38c3..fe2029c533b 100644 --- a/lang/clojure/Makefile +++ b/lang/clojure/Makefile @@ -8,6 +8,7 @@ PORTNAME= clojure PORTVERSION= 20081217 +PORTREVISION= 1 CATEGORIES= lang lisp java MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PORTNAME}_${PORTVERSION} diff --git a/lang/clojure/files/clojure-bin.in b/lang/clojure/files/clojure-bin.in index 621680880bc..b48a2dd34ff 100644 --- a/lang/clojure/files/clojure-bin.in +++ b/lang/clojure/files/clojure-bin.in @@ -4,9 +4,9 @@ if [ -z "$1" ] then - JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Repl + JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar:$CLASSPATH" clojure.lang.Repl else SCRIPT="$1" shift 1 - JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Script "$SCRIPT" -- "$@" + JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar:$CLASSPATH" clojure.lang.Script "$SCRIPT" -- "$@" fi |