Changes between Version 1 and Version 2 of Ticket #56991, comment 24


Ignore:
Timestamp:
Sep 8, 2019, 5:01:20 PM (5 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56991, comment 24

    v1 v2  
    1414{{{
    1515/Library/Developer/SDKs/MacOSX10.13.sdk
     16}}}
     17Edit: I just tried this again now, and had to do this to allow MacPorts to find the SDK:
     18{{{
     19sudo ln -s /Library/Developer/SDKs/MacOSX10.13.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
    1620}}}
    1721
     
    2731}}}
    2832
    29 After that, almost all the ports would install +universal on that system without any trouble. A few ports were not plumbing the `-isysroot${configure.sdkroot}` to the build and link line, three or four, and I tagged that bit onto the compiler spec.
     33After that, almost all the ports would install +universal on that system without any trouble. A few ports were not plumbing the `-isysroot${configure.sdkroot}` to the build and link line, three or four, and I tagged that bit onto the compiler spec, most often by adding a bit like this to the portfile:
     34{{{
     35if {${configure.sdkroot} ne ""} {
     36    configure.cc-append   -isysroot${configure.sdkroot}
     37    configure.cxx-append  -isysroot${configure.sdkroot}
     38}
     39}}}
    3040
    3141