Subject: pkg/5816: audio/xwave doesn't build on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: Tim Rightnour <root@polaris.garbled.net>
List: netbsd-bugs
Date: 07/23/1998 02:47:04
>Number:         5816
>Category:       pkg
>Synopsis:       audio/xwave doesn't build on alpha
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 23 02:35:01 1998
>Last-Modified:
>Originator:     Tim Rightnour
>Organization:
Tim Rightnour    -  root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html
>Release:        6/10/98<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:
This one threw me for a loop.  The problem was that alpha doesn't define 
CDEBUGFLAGS, so the normal i386 build:
-I -O2 -I/blah
vs:
-I -I/blah
Makes for some very nice parsing..  

	
>How-To-Repeat:
try to build..  spend hours analyzing /usr/X11R6/lib/X11/config.  Scratch 
head,  try it one more time..  let there be light!
	
>Fix:
new patch:

--- FWF/FWF.tmpl.orig   Thu Jul 23 02:11:50 1998
+++ FWF/FWF.tmpl        Thu Jul 23 02:16:13 1998
@@ -54,4 +54,4 @@
 
-XPM_LIBDIR = 
-XPM_INCDIR = 
+XPM_LIBDIR = $(X11BASE)/lib
+XPM_INCDIR = $(X11BASE)/include
 XPM_LIB = -lXpm


	
>Audit-Trail:
>Unformatted: