Subject: Re: mplayer, movies.
To: henry nelson <netb@irm.nara.kindai.ac.jp>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 05/13/2003 08:33:06
On Tue, 13 May 2003, henry nelson wrote:

> Lots of GREAT information.  Thanks much!
>
> On Mon, May 12, 2003 at 10:19:11PM -0500, Frederick Bruckman wrote:
> > Probably the most relevant change lately, is that the build is no
> > longer optimized for the build host (mostly so we can build binary
> > packages). You can turn that back on for yourself by setting
> > MPLAYER_ENABLE_RUNTIME_CPU_DETECTION=NO in "/etc/mk.conf".
>
> I'm just now in the process of upgrading my own pkgsrc.  Fortunately,
> perhaps, I hit a bunch of snags so I haven't gotten much of anything
> done yet.  Question is, are there other packages like mplayer where
> the "build is nolonger optimized for the build host?"  If so, is there
> a generic way of optimizing for the build host for all packages?

As far as I know, no other packages optimize for the build host. It
would be broken if they did, because then you wouldn't be able to
build a complete set of packages on a fast machine, for uploading.
"mplayer" is the oddball, because a PC is barely capable of doing what
a dedicated DVD player does in the best case. For the typical package,
it doesn't matter, but you can try setting CFLAGS in the environment
before building to see what difference it makes.

Frederick