James,
I've check into svn a fix for the first problem. We now use xcrun to find the
compiler tools, and so can find the compilers okay.
I hadn't encountered the other issue, likely because I haven't been building
any macports app that use the sdk.
I'll see if I can take a look at the other issue (sdkroot) as well. Is there a
particular port you saw this issue with?
James
On Jan 27, 2012, at 3:18 PM, James Gregurich wrote:
> I'm not sure if this is known or not, but Xcode 4.3 breaks macports. I'll
> report what I have learned in hacking my macports install into working. Note
> that /Developer has been moved inside the Xcode.app package and the internal
> structure of Developer has changed.
>
>
> In xcode 4.3, "/Applications/Xcode.app/Contents/Developer/usr/bin" does not
> contain clang and clang++.
>
>
> Also, the sdkroot calculation is also now wrong as the macosx sdk is now in
> the platforms folder. To illustrate, the path to the 10.6 sdk is now:
>
>
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
>
>
> Here is the line I corrected to make the change in portconfigure….although
> I'm sure you'll need more logic to make this change only for Xcode 4.3.
>
>
> set sdk
> "${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${macosx_deployment_target}.sdk"
>
>
>
> -James
>
>
>
> _______________________________________________
> macports-dev mailing list
> [email protected]
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev