Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2008 16:27:29 +0100
From:      Bernhard Froehlich <decke@bluelife.at>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: CFT: MythTV Fixes
Message-ID:  <20081108162729.22b31f62@chii.bluelife.at>
In-Reply-To: <20081107232438.07b05af2.torfinn.ingolfsen@broadpark.no>
References:  <20080921180743.313a5a08@chii.bluelife.at> <200809212243.05068.shoesoft@gmx.net> <a2ccddb019edcdbea7eff68167e8ef2d.squirrel@webmail.itac.at> <200809222219.14268.shoesoft@gmx.net> <20080924214956.6936e491@chii.bluelife.at> <20081102012335.e7465e42.torfinn.ingolfsen@broadpark.no> <20081104225543.6f45897f@chii.bluelife.at> <20081107232438.07b05af2.torfinn.ingolfsen@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 07 Nov 2008 23:24:38 +0100
Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote:

> On Tue, 04 Nov 2008 22:55:43 +0100
> Bernhard Froehlich <decke@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/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081108162729.22b31f62>