[MacPorts] #55471: Use separate portindexes for libc++ on older systems

MacPorts noreply at macports.org
Thu Mar 15 14:33:13 UTC 2018


#55471: Use separate portindexes for libc++ on older systems
--------------------------+----------------------------
  Reporter:  ryandesign   |      Owner:  neverpanic
      Type:  enhancement  |     Status:  assigned
  Priority:  Normal       |  Milestone:  MacPorts 2.5.0
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+----------------------------

Comment (by mojca):

 OK, it seems to work ok with
 {{{
 portindex -p macosx_12_libstdcxx_i386
 }}}
 but I guess the idea was to use just `macosx_12`. The problem is that in
 the `else` part of
 {{{
 if {[llength $platlist] > 3} {...}
 }}}
 the `cxx_stdlib` never gets set to its default value based on OS version,
 so it stays at `libc++` when the script is executed on >= 10.9.

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


More information about the macports-tickets mailing list