Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2008 23:22:17 +0200 (CEST)
From:      peter.schuller@infidyne.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/128131: [PATCH] lang/clojure: update to 20080916
Message-ID:  <20081015212217.79FCBAFF21@prometheus.scode.org>
Resent-Message-ID: <200810152130.m9FLU2aO019121@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         128131
>Category:       ports
>Synopsis:       [PATCH] lang/clojure: update to 20080916
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 15 21:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     peter.schuller@infidyne.com
>Release:        FreeBSD 7.0-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD prometheus.scode.org 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #2: Thu Sep 25 20:45:07 CEST 2008
>Description:
- Update to 20080916
- Fix and/or improve handling of invocation of clojure as an
  interpreter.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- clojure-20080916.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/clojure.orig/Makefile /usr/ports/lang/clojure/Makefile
--- /usr/ports/lang/clojure.orig/Makefile	2008-07-06 17:56:59.000000000 +0200
+++ /usr/ports/lang/clojure/Makefile	2008-10-15 23:00:58.735252943 +0200
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	clojure
-PORTVERSION=	20080612
+PORTVERSION=	20080916
 CATEGORIES=	lang lisp java
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}_${PORTVERSION}
@@ -26,6 +26,6 @@
 	${INSTALL_SCRIPT} ${WRKDIR}/clojure ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/clojure.jar ${JAVAJARDIR}
 	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKDIR}/src/boot.clj ${DATADIR}
+	${INSTALL_DATA} ${WRKDIR}/src/clj/clojure/boot.clj ${DATADIR}
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/lang/clojure.orig/distinfo /usr/ports/lang/clojure/distinfo
--- /usr/ports/lang/clojure.orig/distinfo	2008-07-06 17:56:59.000000000 +0200
+++ /usr/ports/lang/clojure/distinfo	2008-10-15 22:57:05.810464457 +0200
@@ -1,3 +1,3 @@
-MD5 (clojure_20080612.zip) = 3bc6d59a12331875fa69281760be60d7
-SHA256 (clojure_20080612.zip) = 82a126241d47a547824135c7a963cb8038fdb157e76163fd4345fd36a94a4379
-SIZE (clojure_20080612.zip) = 727073
+MD5 (clojure_20080916.zip) = 289c08f9c8cab51615623704b65048cf
+SHA256 (clojure_20080916.zip) = 68a2b2b5d990b7e36045f0b6f8ff1c9e83a24ceb5056bada2b124efc10caaf77
+SIZE (clojure_20080916.zip) = 771075
diff -ruN --exclude=CVS /usr/ports/lang/clojure.orig/files/clojure.in /usr/ports/lang/clojure/files/clojure.in
--- /usr/ports/lang/clojure.orig/files/clojure.in	2008-07-06 17:56:59.000000000 +0200
+++ /usr/ports/lang/clojure/files/clojure.in	2008-10-15 23:19:43.216226642 +0200
@@ -2,9 +2,11 @@
 #
 # $FreeBSD: ports/lang/clojure/files/clojure.in,v 1.2 2008/07/06 15:56:59 ijliao Exp $
 
-if [ -z "$@" ]
+if [ -z "$1" ]
 then
     JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Repl
 else
-    JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Script "$@"
+    SCRIPT="$1"
+    shift 1
+    JAVA_VERSION="1.5+" "%%LOCALBASE%%/bin/java" -cp "%%JAVAJARDIR%%/clojure.jar" clojure.lang.Script "$SCRIPT" -- "$@"
 fi
--- clojure-20080916.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?20081015212217.79FCBAFF21>