Updated mythtv-fixes port
Alexander Leidinger
Alexander at Leidinger.net
Sun Mar 25 19:48:39 UTC 2007
Quoting Geoff Buckingham <geoffb at chuggalug.clues.com> (Sun, 25 Mar 2007 11:27:00 +0000):
> The upstream configure script, common to both ports, fails to detect the
> CPU correctly under freebsd. THe best it can do is get i386 from uname.
> (Not sure what happens in x86_64. Anybody know?)
Currently: amd64
> As a result it uses -march=i386 during the ports build process. With my patch
> to configure you should get -march=<your cpu family> and get -DMMX if your
> cpu has mmx. On an Athlon 64 3200+ (i386 FreeBSD) i found this reduced CPU
> utilisation during playback of a DVB-T mpeg2 from around 30% to around 10%.
Does it get it from uname, or via the target arch of configure? If it
is the later, I have a patch to let the ports change this to the CPU:
http://www.Leidinger.net/FreeBSD/port-patches/Mk:bsd.port.mk.diff
With my patch the amd64 case will change to x86_64.
Bye,
Alexander.
--
A man of quality does not fear a woman seeking equality.
http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
More information about the freebsd-multimedia
mailing list