Subject: Re: audio/flac broken with 2.0
To: John Klos <john@ziaspace.com>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 10/18/2004 17:23:42
Hello,
> > Since the PowerPC code is specific to Apple's assembler, I disabled the
> > PPC optimizations on non-Darwin systems. Please cvs update audio/flac
> > and let me know if it builds on NetBSD/macppc.
>
> Not yet.
>
> 2.0, macppc, latest pkgsrc.
> # $NetBSD: Makefile,v 1.28 2004/10/18 14:23:29 ben Exp $
>
> as -force_cpusubtype_ALL lpc_asm.s -o .libs/lpc_asm.o
> lpc_asm.s: Assembler messages:
> lpc_asm.s:1: Warning: rest of line ignored; first ignored character is ` '
So it still tries to use the assembler part. Did you make clean after updating?
I'll try myself...
ok, on NetBSD configure seems to get the --disable-asm-optimizations, but not on AIX.
( because MACHINE_PLATFORM looks odd - AIX-3-00000000E000 instead of aix-something-ppc, I'm using AIX 4.3.2 ), on NetBSD/macppc it just works.
changing
.if !empty(MACHINE_PLATFORM:M*-*-ppc)
to
.if !empty(MACHINE_PLATFORM:M*-*-ppc) || $(OPSYS)=="AIX"
in audio/flac/Makefile allows it to build on AIX too.
have fun
Michael