[MacPorts] #37688: New Port - root-devel giving a snapshot of the ROOT6 development.

MacPorts noreply at macports.org
Mon Jan 21 03:44:21 PST 2013


#37688: New Port - root-devel giving a snapshot of the ROOT6 development.
-------------------------+--------------------------------
  Reporter:  jonesc@…    |      Owner:  macports-tickets@…
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.2
Resolution:              |   Keywords:  maintainer
      Port:  root-devel  |
-------------------------+--------------------------------

Comment (by jonesc@…):

 basically you need to do

 {{{
 variant gcc47 conflicts gcc45 gcc46 gcc48 description {Compile using
 MacPorts gcc 4.7} {
    configure.compiler      macports-gcc-4.7
    depends_lib-append      port:gcc47
 }
 }}}

 then do the cmake equivalent of

 {{{
   configure.args-append \
                 --with-cc=${configure.cc} \
                 --with-cxx=${configure.cxx} \
                 --with-ld=${configure.cxx}
             if { ${configure.f77} != "" } {
                 configure.args-append --with-f77=${configure.f77}
             }
 }}}

 Note though I haven't got the gcc compilers to work with root6, hence they
 are currently commented out.

 Also bear in mind you should make sure the port does not opportunistically
 use a fortran compiler. If the user doesn't request a gcc variant, the
 fortran compiler should not be used, even if it is present. That is what
 the above logic ensures.

 cheers Chris

-- 
Ticket URL: <https://trac.macports.org/ticket/37688#comment:32>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list