[mythtv] [mythtv-commits] Ticket #7705: OSX 10.6 Compilation Fixes

George Nassas gnassas at mac.com
Sun Jan 10 15:07:06 UTC 2010


On 2010-01-10, at 3:51 AM, MythTV wrote:

> Comment(by nigel):
> 
> (In [23100]) Qt 4.6 is better for Mac OS 10.6 (no Qt source mods
> required). Refs #7705.

Nigel could you add this statement so we don't have to manually tweak the dependancies list:

if (`system_profiler SPSoftwareDataType | grep "System.Version.*10[.]6[.]"`) {
    print "[osx-pkg] Snow Leopard detected - switching to Qt 4.6\n";
    for (@{ $depend_order{'mythtv'} }) { s/^qt.*/qt-4.6/ }
}

I have it just after the assignment of %makecleanopt but whatever works for you.

I still have to add -arch x86_64 to get Qt to build on my 64 bit machine but I don't see how to detect that 

Also, one more thing, could we get rid of the leading period in the .osx-packager subdir? Having it hidden makes it hard to open files from some editors.

- George



More information about the mythtv-dev mailing list