Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2004 23:30:13 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63876: Update port: games/glasteroids
Message-ID:  <20040307233013.5a3fe723.tkato@prontomail.com>
Resent-Message-ID: <200403071440.i27EeCrv071092@freefall.freebsd.org>

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

>Number:         63876
>Category:       ports
>Synopsis:       Update port: games/glasteroids
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 07 06:40:12 PST 2004
>Closed-Date:
>Last-Modified:
>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/glasteroids/Makefile games/glasteroids/Makefile
--- /usr/ports/games/glasteroids/Makefile	Sat Mar  6 23:51:23 2004
+++ games/glasteroids/Makefile	Sat Mar  6 23:54:32 2004
@@ -25,12 +25,6 @@
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
 MAKEFILE=	${FILESDIR}/Makefile.FreeBSD
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-BROKEN=		"Does not compile on amd64"
-.endif
-
 do-install:
 	${INSTALL_PROGRAM} -m 2755 -o root -g games ${WRKSRC}/Glasteroids ${PREFIX}/bin/glasteroids
 	@${MKDIR} ${DATADIR}
@@ -45,4 +39,4 @@
 	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/games/glasteroids/files/patch-ac games/glasteroids/files/patch-ac
--- /usr/ports/games/glasteroids/files/patch-ac	Mon Dec 22 13:27:21 2003
+++ games/glasteroids/files/patch-ac	Sat Mar  6 23:54:12 2004
@@ -3,7 +3,7 @@
 @@ -1,5 +1,8 @@
  #include <stdlib.h>
  #include <time.h>
-+#if defined(__FreeBSD__) && (defined(__i386__) || defined(__amd64__))
++#if defined(__FreeBSD__) && defined(__i386__)
 +#include <floatingpoint.h>
 +#endif
  #include "Bobcat.h"
@@ -13,7 +13,7 @@
  {
      BCworld *world;
      
-+#if defined(__FreeBSD__) && (defined(__i386__) || defined(__amd64__))
++#if defined(__FreeBSD__) && defined(__i386__)
 +    fpsetmask(0);
 +#endif
      world = BCgetWorld ( );
>Release-Note:
>Audit-Trail:
>Unformatted:



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