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

MacPorts noreply at macports.org
Fri Jun 6 14:27:21 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 jonesc@…):

 Replying to [comment:58 jeremyhu@…]:
 > Why are you doing this?
 >
 > {{{
 > # List of possible clang versions that work
 > set clang_versions { 3.3 3.4 3.5 }
 >
 > # Define the available variants
 > foreach ver ${clang_versions} {
 >     set ver_no_dot [join [split ${ver} "."] ""]
 >     set variant_line {variant clang${ver_no_dot} description "Compile
 using MacPorts clang ${ver}"}
 >     foreach over ${clang_versions} {
 >         if { ${ver} == ${over} } { continue }
 >         set over_no_dot [join [split ${over} "."] ""]
 >         append variant_line " conflicts clang${over_no_dot}"
 >     }
 >     append variant_line { { } }
 >     eval $variant_line
 > }
 >
 > # Is a variant active ?
 > set active_clang_variant ""
 > foreach ver ${clang_versions} {
 >     set ver_no_dot [join [split ${ver} "."] ""]
 >     if {[variant_isset clang${ver_no_dot}]} {
 >         set active_clang_variant ${ver}
 >     }
 > }
 >
 > # If so, set it up.
 > if { ${active_clang_variant} != "" } {
 >     configure.compiler      macports-clang-${active_clang_variant}
 >     # TODO
 >     # configure.args-append   --with-llvm-config="${prefix}/bin/llvm-
 config-mp-"${active_clang_variant}
 >     depends_run-append      port:clang-${active_clang_variant}
 > }
 >
 > }}}

 The root ports have always provided these variants, to allow users to pick
 the MP clang as their compiler, if thats the one they wish to use. Whats
 your problem with the above ?

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


More information about the macports-tickets mailing list