From greid@ukug.uk.freebsd.org  Sun Feb 11 15:54:30 2001
Return-Path: <greid@ukug.uk.freebsd.org>
Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47])
	by hub.freebsd.org (Postfix) with ESMTP id 8D63137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Feb 2001 15:54:29 -0800 (PST)
Received: from m287-mp1-cvx1b.gui.ntl.com ([62.252.9.31])
          by mta07-svc.ntlworld.com
          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
          id <20010211235411.IQAI26323.mta07-svc.ntlworld.com@m287-mp1-cvx1b.gui.ntl.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sun, 11 Feb 2001 23:54:11 +0000
Message-Id: <Pine.BSF.4.21.0102120000400.28143-100000@sobek.openirc.co.uk>
Date: Mon, 12 Feb 2001 00:02:40 +0000 (GMT)
From: George Reid <greid@ukug.uk.freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] emulators/spim has unfetchable distfile

>Number:         25021
>Category:       ports
>Synopsis:       [PATCH] emulators/spim has unfetchable distfile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 11 16:00:01 PST 2001
>Closed-Date:    Mon Feb 26 20:54:47 PST 2001
>Last-Modified:  Mon Feb 26 20:55:31 PST 2001
>Originator:     George Reid
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
FreeBSD UKUG
>Environment:
n/a
>Description:
Port emulators/spim has unfetchable distfile. Patch updates port to
version 6.3. Patch from previous port merged, patch-0[1,2] need to go.

This may also need an entry in ports/LEGAL:

"    You may not sell SPIM or distributed SPIM in conjunction with a
     commercial product or service without the expressed written consent
     of James Larus. "

(from README).

>How-To-Repeat:
Try to build :)
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/home/ncvs/ports/emulators/spim/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	2000/11/13 12:26:50	1.16
+++ Makefile	2001/02/11 23:54:03
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	spim
-PORTVERSION=	6.2
+PORTVERSION=	6.3
 CATEGORIES=	emulators
 MASTER_SITES=	ftp://ftp.cs.wisc.edu/pub/spim/
 DISTNAME=	${PORTNAME}${PORTVERSION}
@@ -15,7 +15,7 @@
 MAINTAINER=	obrien@FreeBSD.org
 
 PREFIX?=	${LOCALBASE}
-NO_WRKSUBDIR=	yes
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 HAS_CONFIGURE=	yes
 CONFIGURE_SCRIPT=	Configure
 USE_IMAKE=	yes
Index: distinfo
===================================================================
RCS file: /usr/home/ncvs/ports/emulators/spim/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	2000/11/13 12:26:50	1.3
+++ distinfo	2001/02/11 23:48:48
@@ -1 +1 @@
-MD5 (spim6.2.tar.gz) = fccec0eaf1e2c2ed76375180e2b39491
+MD5 (spim6.3.tar.gz) = 04b1909f3ff647f1f04437f297c9ad84
Index: files/patch-01
===================================================================
RCS file: /usr/home/ncvs/ports/emulators/spim/files/patch-01,v
retrieving revision 1.3
diff -u -r1.3 patch-01
--- files/patch-01	2000/11/13 12:26:50	1.3
+++ files/patch-01	2001/02/11 23:52:22
@@ -1,7 +1,6 @@
-diff -ru Imakefile.orig Imakefile
---- Imakefile.orig	Fri Sep 20 22:44:50 1996
-+++ Imakefile	Mon Feb  3 11:26:40 1997
-@@ -57,13 +57,13 @@
+--- Imakefile.orig	Sun Jan 14 20:55:15 2001
++++ Imakefile	Sun Feb 11 23:49:11 2001
+@@ -44,13 +44,13 @@
  #
  
  # Full path for directory that will hold the trap handler file:
@@ -18,12 +17,10 @@
  
  
  # If you have flex, use it instead of lex.  If you use flex, define this
-@@ -291,7 +291,7 @@
+@@ -255,7 +255,7 @@
  	mv -f lex.yy.c.xx lex.yy.c
  
  depend::
 -	makedepend -w10 *.c
 +	makedepend -w10 -I$(X11BASE)/include *.c
  
- #
- # DO NOT DELETE THIS LINE -- make depend depends on it.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Feb 25 18:01:34 PST 2001 
Responsible-Changed-Why:  
Over to port's maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25021 
Responsible-Changed-From-To: obrien->freebsd-ports 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Sun Feb 25 18:45:24 PST 2001 
Responsible-Changed-Why:  
Dropped maintainership. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25021 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Mon Feb 26 20:54:47 PST 2001 
State-Changed-Why:  
Update committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25021 
>Unformatted:
