Ticket #40238: root.diff

File root.diff, 1.5 KB (added by cjones051073 (Chris Jones), 11 years ago)
  • Portfile

    old new  
    55
    66name                root
    77version             5.34.09
    8 revision            1
     8revision            2
    99categories          science
    1010maintainers         gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
    1111license             LGPL-2.1+
     
    5353        --with-ld=${configure.cxx}
    5454    if { ${configure.f77} != "" } {
    5555        configure.args-append --with-f77=${configure.f77}
     56    } else {
     57        # Set something configure will fail to find
     58        configure.args-append --with-f77="NONE"
    5659    }
    5760    # the build type (32 or 64 bit) -must- be for first argument
    5861    if {${build_arch} == "i386" || ${build_arch} == "ppc"} {
     
    112115
    113116universal_variant   no
    114117
    115 default_variants    +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion
     118default_variants    +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion +cxx11
    116119
    117120post-destroot {
    118121    reinplace "s|lib/python/genreflex|lib/root/python/genreflex|g" ${destroot}${prefix}/bin/genreflex
    119122}
    120123
     124variant cxx11 description {Build with c++11 support} {
     125    configure.args-delete  --disable-c++11
     126    configure.args-append  --enable-c++11
     127}
     128
    121129variant xrootd description {Build with XRootD support} {
    122130    configure.args-delete   --disable-xrootd
    123131    configure.args-append   --enable-xrootd \