[107034] trunk/dports/multimedia/mythtv-core.25

Craig Treleaven ctreleaven at cogeco.ca
Sun Jun 16 08:18:45 PDT 2013


At 8:38 PM -0500 6/15/13, Ryan Schmidt wrote:
>On Jun 14, 2013, at 18:59, pixilla at macports.org wrote:
>
>>  Revision: 107034
>>           https://trac.macports.org/changeset/107034
>>  Author:   pixilla at macports.org
>>  Date:     2013-06-14 16:59:42 -0700 (Fri, 14 Jun 2013)
>>  Log Message:
>>  -----------
>>  multimedia/mythtv-core.25:
>>  - Maintainer update to version 0.25.3-Fixes-20130529.
>>
>>  Modified Paths:
>>  --------------
>>     trunk/dports/multimedia/mythtv-core.25/Portfile
>
>>  +# Clear all MacPorts flags...MythTV is smart enough to set up its own.
>>  +# (ala qt4-mac/Portfile)
>>  +
>>  +configure.cflags
>>  +configure.cppflags
>>  +configure.cxxflags
>>  +configure.objcflags
>>  +configure.ldflags
>>  +
>>  +configure.universal_cflags
>>  +configure.universal_cppflags
>>  +configure.universal_cxxflags
>>  +configure.universal_ldflags
>>  +
>>  +configure.cc_archflags
>>  +configure.cxx_archflags
>>  +configure.ld_archflags
>
>How does mythtv know what architectures the user has requested in 
>the macports.conf file? That's the information those last 7 
>variables contain.

You're right, it doesn't.  The port also doesn't support universal 
building.  I freely admit that I know very little about c/c++/objc 
compiling and linking although I've learned quite a bit in the last 
1.5 years working on this port.

What I had noticed was that quite a few compile/link flags were being 
duplicated somewhere in the build toolchain: 
MacPorts/configure/qmake/XCode/whatever.

In light of that and last fall's build problems 
(https://trac.macports.org/ticket/35934), the approach of clearing 
all these flags--ala the qt4-mac port--looked interesting.  BINGO. 
Much cleaner builds on XCode 3.2.6, working build with clang from 
XCode 4.6.mumble, plus a working build on a 32-bit Core Duo machine 
for the first time.  IOW, huge improvement.

Nonetheless, I take your point.  I will look for a way to pass the 
desired arch to Myth's configure.  For mythtv-core.27 (0.26 is 
unworkable on OS X), I'll can have a look at a universal build.

Craig


More information about the macports-dev mailing list