[MacPorts] #55382: cmake @3.10.0: Cannot find a C++ compiler supporting C++11 on this system

MacPorts noreply at macports.org
Fri Nov 24 20:47:50 UTC 2017


#55382: cmake @3.10.0: Cannot find a C++ compiler supporting C++11 on this system
-------------------------+-------------------------------------------------
  Reporter:  ryandesign  |      Owner:  michaelld
      Type:  defect      |     Status:  new
  Priority:  High        |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  tiger leopard snowleopard lion
      Port:  cmake       |  mountainlion
-------------------------+-------------------------------------------------

Comment (by ryandesign):

 Wouldn't it be simpler to modify the one cmake portfile to:

 Replying to [comment:11 ryandesign]:
 > Can we [...] offer 3.10.0 or later to libc++ systems and 3.9.6 to
 libstdc++ systems.

 In other words:

 {{{
 if {${configure.cxx_stdlib} eq "libc++"} {
     version 3.10.0
     ...
 } else {
     version 3.9.6
     ...
 }
 }}}

 Requires no modification to portgroup or other ports.

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


More information about the macports-tickets mailing list