Date: Sat, 3 Jan 2009 15:03:45 +0100 (CET) From: Peter Schuller <peter.schuller@infidyne.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/130134: [MAINTAINER] lang/clojure: honor CLASSPATH from environment Message-ID: <20090103140345.797AD20B62A@prometheus.scode.org> Resent-Message-ID: <200901031410.n03EA1WN097596@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090103140345.797AD20B62A>