#52537: hatari - fix for build on Snow Leopard without Xcode 4.2 --------------------------------------+--------------------------------- Reporter: ken.cunningham.webuse@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch maintainer Port: hatari | --------------------------------------+--------------------------------- Comment (by ken.cunningham.webuse@…): Larry & Ryan, you were right. SnowLeopard will build the MacOS GUI with xcode 3.2.6 installed, but with a newer version of clang. In the end I forced it to macports-clang-3.7 or newer, as most people would / should likely have that clang version on Snow Leopard. (3.8 doesn't work correctly, and 3.9 won't compile on SL unless you have installed my as-yet-not-published libSnowLeopardFixes port. I must admit, the blacklisting / fallbacking took a while to figure out right, and I'm not certain even now I have it fully correct. Even when I blacklisted { clang < 211 } the system kept choosing xcode's clang. I tried bumping the number up to 500, and it '''still''' chose xcode's clang, even though i have macports-clang-3.7 installed. Only when I blacklisted all clang did it ignore xcode's clang, and then it started installed macports-clang-3.4 (even though macports-clang-3.7 was there). I understand in a rudimentary way how the logic for this goes, but if you're going to force a clang install on SL, it might as well be 3.7. Ultimately I blacklisted everything up to macports-clang-3.6, and then added a fallback for 3.7. I suppose I might just have whitelisted macports-clang-3.7 and achieved the same effect. New portfile fix coming shortly. Let me know if I got it right this time. --K -- Ticket URL: <https://trac.macports.org/ticket/52537#comment:11> MacPorts <https://www.macports.org/> Ports system for the Mac operating system