Subject: Re: audio/flac broken with 2.0
To: Ben Collver <ben@NetBSD.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: port-macppc
Date: 10/19/2004 09:29:07
--3lcZGd9BuhuYXNfi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 18, 2004 at 08:01:02PM -0700, Ben Collver wrote:
> 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 )
>=20
> How about using the following as a workaround?  Too messy?

please don't.

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

this should be fixed in bsd.prefs.mk, not in Makefiles of individual
packages.


regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--3lcZGd9BuhuYXNfi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBdMJDiwjDDlS8cmMRArZjAJ9LOfISw8UDwc8ABYOzq0/tiob66wCeMXzL
Tymi5qVyb4Vbg8Iv4aKW+t4=
=LPrt
-----END PGP SIGNATURE-----

--3lcZGd9BuhuYXNfi--