From anders@totem.fix.no  Sun Apr 29 13:38:44 2001
Return-Path: <anders@totem.fix.no>
Received: from totem.fix.no (totem.fix.no [213.142.66.130])
	by hub.freebsd.org (Postfix) with ESMTP id EED6F37B422
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 Apr 2001 13:38:43 -0700 (PDT)
	(envelope-from anders@totem.fix.no)
Received: by totem.fix.no (Postfix, from userid 1000)
	id 1E38C3CCF; Sun, 29 Apr 2001 22:38:43 +0200 (CEST)
Message-Id: <20010429203843.1E38C3CCF@totem.fix.no>
Date: Sun, 29 Apr 2001 22:38:43 +0200 (CEST)
From: Anders Nordby <anders@fix.no>
Reply-To: Anders Nordby <anders@fix.no>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Port fix: audio/xmp
X-Send-Pr-Version: 3.2

>Number:         26964
>Category:       ports
>Synopsis:       Port fix: audio/xmp
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 29 13:40:02 PDT 2001
>Closed-Date:    Mon Apr 30 14:55:37 PDT 2001
>Last-Modified:  Mon Apr 30 14:55:59 PDT 2001
>Originator:     Anders Nordby
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

Alpha architecture. Unfortunately, I have no such equipment to test this on.

>Description:

Port fails building on Alpha hardware:
http://beta.freebsd.org/errorlogs/4-full/xmp-2.0.4.log

>How-To-Repeat:

Build the port on Alpha.

>Fix:

Use esound on Alpha instead of using the xmp oss driver:

diff -Nur xmp.old/Makefile xmp/Makefile
--- xmp.old/Makefile	Tue Apr 17 13:02:01 2001
+++ xmp/Makefile	Sun Apr 29 20:57:03 2001
@@ -25,7 +25,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} > 500013
+.if ${OSVERSION} > 500013 || ${MACHINE_ARCH} == "alpha"
 USE_ESOUND=	yes
 CONFIGURE_ARGS+=	--disable-oss --enable-esd
 .elif defined(HAVE_ESOUND)
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mharo 
State-Changed-When: Mon Apr 30 14:55:37 PDT 2001 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=26964 
>Unformatted:
