Variable for path to SDK root
Joshua Root
jmr at macports.org
Wed Nov 6 16:38:07 PST 2013
On 2013-11-7 11:31 , Jann Röder wrote:
> Hi,
> it appears that in order to build gpg using Xcode 5 correctly we need to
> specify the absolute path to stdint.h in the portfile. On my system the
> files is at
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdint.h
>
> I was wondering if there is a variable that points to the SDK Root
> "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/"
> on any version of OS X / XCode.
>
> Background:
>
> The current version of the gpg2 port has this line in it:
>
> configure.env gl_cv_absolute_stdint_h=/usr/include/stdint.h
>
> However with XCode 5 the file at this location doesn't exist. It needs to be
>
> configure.env
> gl_cv_absolute_stdint_h=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/stdint.h
>
> instead.
I don't have Mavericks, but that seems unlikely. I would expect stdint.h
would be provided by the Command Line Tools like the other headers in
/usr/include.
- Josh
More information about the macports-dev
mailing list