ports/63876: Update port: games/glasteroids

KATO Tsuguru tkato at prontomail.com
Sun Mar 7 14:40:13 UTC 2004


>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:



More information about the freebsd-ports-bugs mailing list