From tkato@prontomail.com  Sun Mar  7 06:30:52 2004
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 940D716A4CE
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun,  7 Mar 2004 06:30:52 -0800 (PST)
Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DEF8543D48
	for <FreeBSD-gnats-submit@FreeBSD.org>; Sun,  7 Mar 2004 06:30:51 -0800 (PST)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([218.222.54.254]) by hfep04.dion.ne.jp with SMTP
          id <20040307143048338.TOZJ@hfep04.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Sun, 7 Mar 2004 23:30:48 +0900
Message-Id: <20040307233010.678c9ca2.tkato@prontomail.com>
Date: Sun, 7 Mar 2004 23:30:10 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: games/amphetamine

>Number:         63875
>Category:       ports
>Synopsis:       Update port: games/amphetamine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    krion
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 07 06:40:12 PST 2004
>Closed-Date:    Sun Mar 07 08:46:55 PST 2004
>Last-Modified:  Sun Mar 07 08:46:55 PST 2004
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.9-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Fix build on non-i386 arch

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/games/amphetamine/Makefile games/amphetamine/Makefile
--- /usr/ports/games/amphetamine/Makefile	Sat Mar  6 23:51:22 2004
+++ games/amphetamine/Makefile	Sat Mar  6 23:56:01 2004
@@ -24,14 +24,8 @@
 
 DATAVERSION=	0.8.6
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} != "i386" && ${ARCH} != "alpha"
-BROKEN=		"Does not compile on !i386 and !alpha"
-.endif
-
 post-install:
 	@cd ${WRKDIR}/amph && ${FIND} . | \
 		${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/amph
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/games/amphetamine/files/patch-ab games/amphetamine/files/patch-ab
--- /usr/ports/games/amphetamine/files/patch-ab	Tue Mar  2 11:43:44 2004
+++ games/amphetamine/files/patch-ab	Sat Mar  6 23:55:05 2004
@@ -1,7 +1,7 @@
 --- src/Main.cpp.orig	Sun Mar 24 17:49:09 2002
 +++ src/Main.cpp	Mon Mar  1 19:51:09 2004
 @@ -1,3 +1,7 @@
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && defined(__i386__)
 +#include <floatingpoint.h>
 +#endif
 +
@@ -12,7 +12,7 @@
  	my_argv = argv;
  	if (checkCommandLine()) return 0;
  	
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && defined(__i386__)
 +	fpsetmask(fpgetmask() & ~(FP_X_DZ|FP_X_INV));	
 +#endif
  	gApplication = new CApplication();
@@ -22,7 +22,7 @@
  	gApplication->Quit();
  	delete gApplication;
  
-+#if defined(__FreeBSD__) && ( defined(__i386__) || defined(__amd64__) )
++#if defined(__FreeBSD__) && defined(__i386__)
 +	fpresetsticky(FP_X_DZ|FP_X_INV);
 +	fpsetmask(FP_X_DZ|FP_X_INV);
 +#endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->krion 
Responsible-Changed-By: krion 
Responsible-Changed-When: Sun Mar 7 07:18:19 PST 2004 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63875 
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sun Mar 7 08:46:51 PST 2004 
State-Changed-Why:  
Committed, thanks! 

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