Date: Thu, 3 Aug 2006 21:44:25 +0200 (CEST) From: Roland Smith <rsmith@xs4all.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101328: [patch] games/tyrquake doesn't build on amd64. Message-ID: <20060803194425.39727B854@slackbox.xs4all.nl> Resent-Message-ID: <200608031950.k73JoACY019570@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101328 >Category: ports >Synopsis: [patch] games/tyrquake doesn't build on amd64. >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: Thu Aug 03 19:50:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Roland Smith >Release: FreeBSD 6.1-STABLE amd64 >Organization: >Environment: System: FreeBSD slackbox.xs4all.nl 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May 9 22:46:51 CEST 2006 rsmith@slackbox.xs4all.nl:/usr/obj/usr/src/sys/RFS amd64 >Description: tyrquake doesn't build on amd64. This is due to a bug in the makefile. The make environment flag NO_X86_ASM=YES is set when the WITHOUT_X86_ASM is _not_ set. >How-To-Repeat: Try building the code with the option X86_ASM set to off on amd64. >Fix: - Set WITHOUT_X86_ASM="yes" on every architecture != i386 - Fix the test. See patch below: -------- patch for /usr/ports/games/tyrquake/Makefile -------- --- Makefile.orig Thu Aug 3 21:25:51 2006 +++ Makefile Thu Aug 3 21:36:54 2006 @@ -26,11 +26,15 @@ .include <bsd.port.pre.mk> +.if ${ARCH} != i386 +WITHOUT_X86_ASM="yes" +.endif + .if !defined(WITHOUT_OPTIMIZED_CFLAGS) MAKE_ENV+= OPTIMIZED_CFLAGS=YES .endif -.if !defined(WITHOUT_X86_ASM) +.if defined(WITHOUT_X86_ASM) MAKE_ENV+= NO_X86_ASM=YES .endif -------- patch for /usr/ports/games/tyrquake/Makefile -------- Maybe this bug should be marked critical for all the quake addicts out there? ;-) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060803194425.39727B854>