CFT: MythTV Fixes

Bernhard Froehlich decke at bluelife.at
Sat Nov 8 07:27:18 PST 2008


On Fri, 07 Nov 2008 23:24:38 +0100
Torfinn Ingolfsen <torfinn.ingolfsen at broadpark.no> wrote:

> On Tue, 04 Nov 2008 22:55:43 +0100
> Bernhard Froehlich <decke at bluelife.at> wrote:
> 
> > The reason that this happens is because the architecture is detected
> > as i386 instead of amd64. That happens because BSD's gcc 3.4 does
> > not output anything when called with the "-dumpmachine" flag and it
> > is recommended to use g++ instead.
> > 
> > 
> > --- configure	2008-03-04 22:23:23.000000000 +0100
> > +++ configure	2008-11-04 20:12:25.000000000 +0100
> > @@ -1466,7 +1466,7 @@
> >    x86_64|amd64)
> >      arch="x86_32"
> >      enable fast_unaligned
> > -    canon_arch="`$cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
> > +    canon_arch="`$cxx -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
> >      if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ];
> > then if [ -z "`echo $CFLAGS | grep -- -m32`"  ]; then
> >          arch="x86_64"
> > 
> > 
> > I've also updated my archive to include that patch:
> > 
> > http://home.bluelife.at/ports/mythtv-cft-041108.tar.gz
> 
> Ok, with that archive, mythtv-frontend xompiles and installs.
> BTW, this port should probably reduce the plist to only include the
> files that are actually needed for the mythfrontend and mythtv-setup
> executable (IMHO).

Good to hear that!

Until mythtv 0.20 there was a "--disable-backend" switch for configure
but in 0.21 that one is disabled due to abuse in Gentoo ebuild. So
sorry but i'm not gonna patch the buildsystem to reimplement that
configuration. It's also clearly documented what "frontend-only" really
means.

http://www.mythtv.org/docs/mythtv-HOWTO-5.html#frontend-only

-- 
Bernhard Froehlich
http://www.bluelife.at/



More information about the freebsd-multimedia mailing list