aboutsummaryrefslogtreecommitdiff
path: root/lang/clojure
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2009-01-04 08:34:01 +0000
committerRong-En Fan <rafan@FreeBSD.org>2009-01-04 08:34:01 +0000
commit54a161bd04530e12ab9ef6b72739448eaaed58e0 (patch)
tree58c369b3590e97df47e199362dd78c0ab22991dd /lang/clojure
parent7af8b0c347bc20a46cef5b325cf86ae49e73c01d (diff)
downloadports-54a161bd04530e12ab9ef6b72739448eaaed58e0.tar.gz
ports-54a161bd04530e12ab9ef6b72739448eaaed58e0.zip
Notes
Diffstat (limited to 'lang/clojure')
-rw-r--r--lang/clojure/Makefile1
-rw-r--r--lang/clojure/files/clojure-bin.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/clojure/Makefile b/lang/clojure/Makefile
index 577262b38c36..fe2029c533b1 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 621680880bc3..b48a2dd34ff7 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