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

MacPorts noreply at macports.org
Tue Mar 27 07:23:38 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 ryandesign):

 Replying to [comment:15 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_i386`. 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.

 I think you're right. I'm not sure why didn't notice that problem before.

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


More information about the macports-tickets mailing list