From owner-freebsd-multimedia@FreeBSD.ORG Sat Nov 8 15:27:18 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B10810656E3 for ; Sat, 8 Nov 2008 15:27:18 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [213.47.211.116]) by mx1.freebsd.org (Postfix) with ESMTP id 7C1258FC17 for ; Sat, 8 Nov 2008 15:27:17 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from [78.142.74.81] (helo=chii.bluelife.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1KypiS-0001mc-UC; Sat, 08 Nov 2008 16:27:13 +0100 Date: Sat, 8 Nov 2008 16:27:29 +0100 From: Bernhard Froehlich To: Torfinn Ingolfsen 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> <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> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.4 (-) X-Spam-Report: Spam detection software, running on the system "mail.itac.at", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Fri, 07 Nov 2008 23:24:38 +0100 Torfinn Ingolfsen wrote: > On Tue, 04 Nov 2008 22:55:43 +0100 > Bernhard Froehlich 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). [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.1 DNS_FROM_SECURITYSAGE RBL: Envelope sender in blackholes.securitysage.com -0.0 AWL AWL: From: address is in the auto white-list Cc: freebsd-multimedia@freebsd.org Subject: Re: CFT: MythTV Fixes X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Nov 2008 15:27:18 -0000 On Fri, 07 Nov 2008 23:24:38 +0100 Torfinn Ingolfsen wrote: > On Tue, 04 Nov 2008 22:55:43 +0100 > Bernhard Froehlich 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/