[MacPorts] #43917: ROOT6 : Update to first production release, 6.00.00

MacPorts noreply at macports.org
Thu Jun 5 10:34:30 PDT 2014


#43917: ROOT6 : Update to first production release, 6.00.00
-----------------------+---------------------------------
  Reporter:  jonesc@…  |      Owner:  mojca@…
      Type:  update    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  haspatch maintainer
      Port:  root6     |
-----------------------+---------------------------------

Comment (by mojca@…):

 This is how `llvm-3.5` prevents the wrong setup, something similar would
 be needed for ROOT 6 (after a bit of a clean up):
 {{{
 # llvm-3.5 and later requires a C++11 runtime
 compiler.blacklist *gcc* {clang < 300}

 # TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is
 released
 platform darwin {
     # Note that we are forcing this choice.  This means that anything
 linking
     # against llvm-3.5 needs to also be using libc++.  This is possibly
     # problematic, but luckily there is just a limited set of such
 dependents.

     if {[info exists configure.cxx_stdlib]} {
         configure.cxx_stdlib libc++
     }

     depends_lib-append port:libcxx
 }

 pre-fetch {
     if {(${os.major} < 13 && ! [info exists configure.cxx_stdlib]) ||
         (! [file exists /usr/lib/libc++.dylib])} {
         ui_error "$name requires a C++11 runtime, which your configuration
 does not allow"
         error "unsupported configuration"
     }
 }
 }}}

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


More information about the macports-tickets mailing list