Ticket #52465: root5.diff

File root5.diff, 2.1 KB (added by cjones051073 (Chris Jones), 8 years ago)
  • Portfile

     
    88PortGroup           compiler_blacklist_versions 1.0
    99PortGroup           github 1.0
    1010
    11 github.setup        root-mirror root 5-34-36 v
    12 version             5.34.36
     11github.setup        root-mirror root c06fdeae0b3b4d627aacef2bda9df0acd079626b
     12#github.setup        root-mirror root 5-34-36 v
     13version             5.34.37
    1314
    1415set version_major   [lindex [split ${version} .] 0]
    1516
    16 checksums           rmd160  bd19fe36d42928fe2e6b6df6f055f5cc0e6bece5 \
    17                     sha256  8482b84a90928ef7eb44b9172f961b8b9607969959ab175eeff812cd91dd4893
     17checksums           rmd160  4d28ced0f6faee87e5dd7130f96c15fd0237041b \
     18                    sha256  da68645b5c31b6fe2c52cf73a6f7c848d3ccdd2ef68436b953c95c55cb030468
    1819
    1920name                root${version_major}
    2021categories          science
     
    4950select.group        root
    5051select.file         ${filespath}/${name}
    5152
     53# Force a compatible compiler
     54compiler.blacklist-append *gcc* {clang < 500} macports-clang-3.3
     55compiler.fallback-append  macports-clang-3.8 macports-clang-3.7 macports-clang-3.6 macports-clang-3.5
     56
    5257post-patch {
    5358#   reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in
    5459    reinplace "s|\"/usr/include\"|\"${prefix}/include /usr/include\"|g" ${worksrcpath}/configure
     
    487492# ========================================================================================
    488493
    489494# List of possible clang versions that work
    490 set clang_versions { 3.3 3.4 3.5 }
     495set clang_versions { 3.4 3.5 3.6 3.7 3.8 }
    491496
    492497# Define the available variants
    493498foreach ver ${clang_versions} {
     
    574579# Note that g95 does not work here, so that variant is removed
    575580# ========================================================================================
    576581
    577 set gcc_versions { 4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 }
    578 set default_fortran_variant +gcc5
     582set gcc_versions { 4.7 4.8 4.9 5 6 }
     583set default_fortran_variant +gcc6
    579584
    580585foreach ver ${gcc_versions} {
    581586    set ver_no_dot [join [split ${ver} "."] ""]