Subject: Re: audio/flac broken with 2.0
To: Michael <macallan18@earthlink.net>
From: Ben Collver <ben@NetBSD.org>
List: port-macppc
Date: 10/18/2004 20:01:02
On Mon, Oct 18, 2004 at 10:15:36PM -0400, Michael wrote:
> the .if... statement you added to the Makefile probably didn't catch
> his MACHINE_PLATFORM, his had the form Linux-x-x-x-ppc. I had the same
> problem with AIX ( for me it was AIX-3-00000000E000, odd but that's
> what I get )

How about using the following as a workaround?  Too messy?

POWERPC_ARCHS=		powerpc ppc
.if !empty(POWERPC_ARCHS:M${MACHINE_ARCH}) || ${OPSYS} == "AIX"
.if ${OPSYS} != "Darwin"
CONFIGURE_ARGS+=	--disable-asm-optimizations
CONFIGURE_ARGS+=	--disable-altivec
.endif
.endif

Cheers,

Ben