ports/130134: [MAINTAINER] lang/clojure: honor CLASSPATH from environment
Peter Schuller
peter.schuller at infidyne.com
Sat Jan 3 14:10:02 UTC 2009
>Number: 130134
>Category: ports
>Synopsis: [MAINTAINER] lang/clojure: honor CLASSPATH from environment
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Jan 03 14:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: peter.schuller at infidyne.com
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Dec 3 01:00:41 CET
>Description:
The clojure binary wrapper script now correctly honors CLASSPATH in
the environment, which would be expected by the user.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- clojure-20081217.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/clojure.orig/files/clojure-bin.in /usr/ports/lang/clojure/files/clojure-bin.in
--- /usr/ports/lang/clojure.orig/files/clojure-bin.in 2008-12-23 21:31:42.000000000 +0100
+++ /usr/ports/lang/clojure/files/clojure-bin.in 2009-01-03 15:00:40.357751742 +0100
@@ -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
--- clojure-20081217.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list