[MacPorts] #58895: gcc9: search path for standard libraries is incomplete/incorrect

MacPorts noreply at macports.org
Sun Apr 24 17:34:12 UTC 2022


#58895: gcc9: search path for standard libraries is incomplete/incorrect
---------------------+----------------------
  Reporter:  prbuen  |      Owner:  (none)
      Type:  defect  |     Status:  reopened
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  gcc9    |
---------------------+----------------------
Changes (by Serge3leo):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Replying to [ticket:65055#comment:6 kencu, ticket 65055]:
 > So the gcc10 log shows it is looking here:
 > {{{
 > /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 > }}}
 > ...
 >
 > ​https://github.com/macports/macports-
 ports/commit/e8866c5019d60832527850b4e50fdc1de8878716
 > ...
 >
 > I wonder what is wrong with this plan?

 IMHO, for a strict reference to the use of Mac OSX 10.15 SDK, you should:

 {{{
 depends_lib-append …\
 …
         port:MacOSX10.15.sdk
 …
 configure.args-append --with-
 sysroot="${prefix}/Developer/SDKs/MacOSX10.15.sdk”
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58895#comment:34>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list