Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2001 17:31:05 -0800 (PST)
From:      Jonathan Hanna <jh@cr222190-a.crdva1.bc.wave.home.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25024: ports/spin update to 3.4.4
Message-ID:  <200102120131.f1C1V5I44889@cr222190-a.crdva1.bc.wave.home.com>

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

>Number:         25024
>Category:       ports
>Synopsis:       ports/spin update to 3.4.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 11 17:40:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Hanna
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD roller.pangolin-systems.com 5.0-CURRENT FreeBSD 5.0-CURRENT #46: Tue Dec 26 18:00:01 PST 2000 jh@roller.pangolin-systems.com:/home/src/sys/compile/ROLLER i386


>Description:

Update spin to 3.4.4.

Also, attempt to use a valid wish (tk) it exists, without
making it a requirment. The implementation is very suspicious.

>How-To-Repeat:

>Fix:

diff -u -N -r spin.orig/Makefile spin/Makefile
--- spin.orig/Makefile	Sun Dec 10 07:38:05 2000
+++ spin/Makefile	Sun Feb 11 17:13:08 2001
@@ -6,12 +6,12 @@
 #
 
 PORTNAME=	spin
-PORTVERSION=	3.4.2
+PORTVERSION=	3.4.4
 CATEGORIES=	math
 MASTER_SITES=	ftp://netlib.bell-labs.com/netlib/spin/ \
 		ftp://www.netlib.org/spin/ \
 		ftp://ftp.freesoftware.com/pub/netlib/spin/
-DISTFILES=	spin342.tar.gz html.tar.gz
+DISTFILES=	spin344.tar.gz html.tar.gz
 
 MAINTAINER=	jhanna@home.com
 
@@ -24,7 +24,11 @@
 	@cd ${WRKDIR}/Test && ${SH} ${WRKDIR}/Test/examples
 
 post-patch:
-	@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKDIR}/Xspin3.4/xspin342.tcl
+	@WISH=`(cd ${LOCALBASE}/bin ; ls wish8* ) | tail -1` ; \
+	if [ -z "$$WISH" ] ; then WISH=wish8.0 ; fi ; \
+	${PERL} -pi \
+		-e "s|%%LOCALBASE%%|${LOCALBASE}|g;" \
+		-e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin3.4/xspin342.tcl
 
 pre-build:
 	cd ${WRKSRC} && ${MAKE} clean
diff -u -N -r spin.orig/distinfo spin/distinfo
--- spin.orig/distinfo	Sun Dec 10 07:38:05 2000
+++ spin/distinfo	Sun Feb 11 16:42:22 2001
@@ -1,2 +1,2 @@
-MD5 (spin/spin342.tar.gz) = 3bc6a6b2d2e35f397d850c6e22048dba
+MD5 (spin/spin344.tar.gz) = cf404f570e429c95d9a3e9c6c86fd54c
 MD5 (spin/html.tar.gz) = 18fb3308fac90091de71235941fbdc20
diff -u -N -r spin.orig/files/patch-aa spin/files/patch-aa
--- spin.orig/files/patch-aa	Sun Dec 10 07:38:08 2000
+++ spin/files/patch-aa	Sun Feb 11 16:49:47 2001
@@ -2,7 +2,7 @@
 +++ ../Xspin3.4/xspin342.tcl	Wed Jun 23 18:30:51 1999
 @@ -1,4 +1,4 @@
 -#!/usr/local/bin/wish -f
-+#!%%LOCALBASE%%/bin/wish8.0 -f
++#!%%LOCALBASE%%/bin/%%WISH%% -f
  
  #======================================================================#
  # Tcl/Tk Spin Controller, Gerard J. Holzmann, Bell Laboratories, USA.  #

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102120131.f1C1V5I44889>