Subject: xsrc/29882: build.sh -x script does not produce XFree86 binary on Alpha
To: None <xsrc-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dhop@nwlink.com>
List: netbsd-bugs
Date: 04/04/2005 19:02:00
>Number:         29882
>Category:       xsrc
>Synopsis:       build.sh -x script does not produce XFree86 binary on Alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 04 19:02:00 +0000 2005
>Originator:     David Hopper
>Release:        NetBSD 3.99.1
>Organization:
>Environment:
System: NetBSD scarab 3.99.1 NetBSD 3.99.1 (SCARAB-$Revision: 1.190.1 $) #2: Thu Mar 31 10:14:20 PST 2005 bard@scarab:/usr/src/sys/arch/alpha/compile/SCARAB alpha
>Description:
   Using the build.sh script to build XFree86 4.5.0 on Alpha results in XdecNetBSD and XalphaNetBSD, but no XFree86 server binary.  Doing a complete 'make World && make install' in /usr/xsrc, however, does build and install the XFree86 server binary, fully functional on at least this PWS 600au and Alphastation 255.
   This patch enables the XFree86 binary on Alpha within src/x11 tree, for those with aftermarket PCI cards.  Any issues with cards or Alpha models should be dealt with in separate PRs.

>How-To-Repeat:

>Fix:
   This patch is a quick one, and untested as yet.  I am not certain if it is equivalent to a 'make World'.
   It will be important to test cross-compiling results with this.

--- src/x11/Xserver/Makefile.common.orig        2005-04-01 12:39:08.000000000 -0800
+++ src/x11/Xserver/Makefile.common     2005-04-01 12:44:07.000000000 -0800
@@ -44,7 +44,8 @@
 # XFree86 servers all need XFONT as well.
 .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" || \
     ${MACHINE} == "macppc" || ${MACHINE} == "cats" || \
-    ${MACHINE} == "sgimips" || ${MACHINE} == "sparc64"
+    ${MACHINE} == "sgimips" || ${MACHINE} == "sparc64" || \
+    ${MACHINE} == "alpha"
XSERVER_NEEDS_XFONT=   yes
XSERVER_NEEDS_MIEXT=   yes
XSERVER_XFREE86=       yes