[MacPorts] #56516: bzflag @2.4.14: error: A c++ compiler with C++0x support is required to build BZFlag

MacPorts noreply at macports.org
Mon May 21 01:22:52 UTC 2018


#56516: bzflag @2.4.14: error: A c++ compiler with C++0x support is required to
build BZFlag
-------------------------+-------------------------------------------------
  Reporter:  ryandesign  |      Owner:  allejo
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  tiger leopard snowleopard lion
      Port:  bzflag      |  mountainlion
-------------------------+-------------------------------------------------

Comment (by MarcusCalhoun-Lopez):

 Yes, two values of {{{PortGroup}}} is fine.\\
 {{{
 PortSystem          1.0
 PortGroup           app 1.0
 PortGroup           cxx11 1.1

 name                bzflag
 version             2.4.14
 }}}

 If you are sure that bzflag will not work on 10.6 or lower, you could add
 something like
 {{{
 if {${os.major} < 11} {
     pre-fetch {
          ui_error "${name} requires Mac OS X 10.7 or greater"
         return -code error "incompatible OS version"
     }
 }
 }}}
 However, I was about to get bzflag to compile and run on a 10.6 virtual
 machine.\\
 You might not want to add the above code until you are sure it is
 needed.\\
 They might have only chosen 10.7 since it was the first OS with
 [https://trac.macports.org/wiki/LibcxxOnOlderSystems libc++].\\
 {{{PortGroup cxx11 1.1}}} may be able to get around that.

 On an unrelated note, the livecheck did not work for me.\\
 However, {{{livecheck.regex     {(\d+(?:\.\d+)+)/} }}} did work.

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


More information about the macports-tickets mailing list