[MacPorts] #56274: terra @0.7 Fix broken compilation

MacPorts noreply at macports.org
Sun Apr 15 20:46:17 UTC 2018


#56274: terra @0.7 Fix broken compilation
-----------------------+---------------------------------
  Reporter:  lockhart  |      Owner:  ryandesign
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  fixed     |   Keywords:  haspatch maintainer
      Port:  terra     |
-----------------------+---------------------------------

Comment (by kencu):

 The new patches break builds on systems 10.8 or less.

 It can be fixed by including the cxx11 1.1 PortGroup, and adding
 `-std=c++11` to the build line. The easiest way I found to do that was to
 add it to the compiler spec as this port doesn't use configure. But I know
 this is cheating:
 {{{
 reinplace -E "s, at CXX@,${configure.cxx} -std=c++11,g"
 ${worksrcpath}/Makefile
 }}}

 Or we could use the old patch on older systems.

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


More information about the macports-tickets mailing list