Subject: pkg/5938: crossfire doesnt build on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <root@polaris.garbled.net>
List: netbsd-bugs
Date: 08/09/1998 04:12:40
>Number:         5938
>Category:       pkg
>Synopsis:       crossfire doesnt build on alpha
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug  9 04:20:01 1998
>Last-Modified:
>Originator:     Tim Rightnour
>Organization:
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html
>Release:        1.3<NetBSD-current source date>
>Environment:
	
System: NetBSD polaris 1.3 NetBSD 1.3 (POLARIS) #0: Thu Mar 26 13:17:18 MST 1998 root@polaris:/usr/src/sys/arch/i386/compile/POLARIS i386


>Description:
I'm gonna owe someone beer for this..  Though I'm not sure if it's not me
I owe beer to or whoever ends up applying this patch.. (and the 5 that will
follow it)

Crossfire doesn't build on alpha.. A nasty little AlphaArchitecture string
in one of the imake rules files makes it go Boom on invalid cc arguments.
	
>How-To-Repeat:
try to build crossfire on alpha.. hang head in shame.. turn in stars..
	
>Fix:
--- config/crossfire.cf.orig	Fri May 15 20:27:10 1998
+++ config/crossfire.cf	Sun Aug  9 01:27:20 1998
@@ -176,3 +176,3 @@
 
-#ifdef AlphaArchitecture
+#if defined(AlphaArchitecture) && !defined(NetBSDArchitecture)
 CC = cc -std1 -Olimit 1000    /* Alpha */
@@ -292,3 +292,3 @@
 
-SOUND_DEF = -DRPLAY_SOUND
+SOUND_DEF = -DRPLAY_SND
 #endif

	
>Audit-Trail:
>Unformatted: