Subject: Re: audio/flac broken with 2.0
To: Lubomir Sedlacik <salo@Xtrmntr.org>
From: Ben Collver <ben@NetBSD.org>
List: tech-pkg
Date: 10/19/2004 06:28:33
On Tue, Oct 19, 2004 at 02:59:40PM +0200, Lubomir Sedlacik wrote:
> no, i mean bsd.prefs.mk.  the upper half of said file is pretty self
> explanatory and there already are such manipulations done.

I have been led to believe that Linux has ppc instead of powerpc for
MACHINE_ARCH.  For Linux, does this look like an appropriate fix?

.elif ${OPSYS} == "Linux"
LOWER_OPSYS?=           linux
MACHINE_ARCH:=          ${MACHINE_ARCH:C/i.86/i386/}
MACHINE_ARCH:=		${MACHINE_ARCH:C/ppc/powerpc/}
.  if !defined(LOWER_ARCH)
LOWER_ARCH!=            ${UNAME} -m | sed -e 's/i.86/i386/' -e 's/ppc/powerpc'

If you look at the Linux cases in audio/mpg123/Makefile.common and
devel/p4/Makefile.common, they test for MACHINE_ARCH == "powerpc".  I
don't have this hardware and I wonder, is this something that actually
needs to be fixed?

Ben