[MacPorts] #41560: webkit-gtk3 2.2.2 with webkit2 support needed

MacPorts noreply at macports.org
Thu Nov 28 11:25:29 PST 2013


#41560: webkit-gtk3 2.2.2 with webkit2 support needed
--------------------------+------------------------
  Reporter:  devans@…     |      Owner:  jeremyhu@…
      Type:  update       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.2.1
Resolution:               |   Keywords:
      Port:  webkit-gtk3  |
--------------------------+------------------------

Comment (by jeremyhu@…):

 Replying to [comment:4 devans@…]:
 > So looks like the issues are:
 >
 >  * needs a C++11 capable compiler
 >  * needs libc++
 >
 > What's the best way to do this on the earlier platforms?

 Error out if unsupported.  Until trunk is released, we'll need to do this
 a tad messily:
 {{{
 platform darwin {
     set cxx_stdlib {}

     if {[info exists configure.cxx_stdlib] &&
         ${configure.cxx_stdlib} ne {} &&
         [string match *clang* ${configure.cxx}]} {
         set cxx_stdlib ${configure.cxx_stdlib}
     } elseif {[string match *clang* ${configure.cxx}] &&
               ${os.major} >= 13} {
         set cxx_stdlib libc++
     } else {
         set cxx_stdlib libstdc++
     }

     if {${cxx_stdlib} == "libstdc++"} {
        ui_error "$name is not supported for this installation of MacPorts.
 It requires libc++ be selected as your C++ runtime"
        error "unsupported configuration"
     }
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/41560#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list