Ticket #47477: root.diff

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

     
    1010PortGroup           select 1.0
    1111
    1212# don't forget to update both the git tag and the version
    13 github.setup        root-mirror root 6-03-02 v
    14 version             6.03.02
     13github.setup        root-mirror root 9ab0642adeca5d3703783bdbfeebfca86ea22af9
     14#github.setup        root-mirror root 6-03-02 v
     15version             6.03.02.91
    1516
    1617# this could be a better way to set the version (unless we use a sha sum for the git tag ;)
    1718# version           [string map {- .} $version]
    1819set version_major   [lindex [split ${version} .] 0]
    1920
    20 checksums           rmd160  e1835e242045dd4b4014f378d0166a55acb277e4 \
    21                     sha256  e0d5f40fa7c4459aff6dd1721d3a9e0169b3ba9e6cd5e1194f894512133305b7
     21checksums           rmd160  a4f3e4248b4e5be9540dab481e5e919e66e40142 \
     22                    sha256  006dc44790d84eddfaaef90418a484e3cbb6d3978e731ea7a9b09e732f147c18
    2223
    2324name                root${version_major}
    2425categories          science
     
    5758
    5859# Force a compatible compiler
    5960compiler.blacklist-append *gcc* {clang < 500} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2
    60 compiler.fallback-append macports-clang-3.4 macports-clang-3.5
     61compiler.fallback-append macports-clang-3.4 macports-clang-3.5 macports-clang-3.6
    6162
    6263# port specific location
    6364set install_prefix ${prefix}/libexec/root${version_major}
     
    510511# ========================================================================================
    511512
    512513# List of possible clang versions that work
    513 set clang_versions { 3.3 3.4 3.5 }
     514set clang_versions { 3.3 3.4 3.5 3.6 }
    514515
    515516# Define the available variants
    516517foreach clang_ver ${clang_versions} {
     
    534535        default_variants-append +clang34
    535536    } elseif { ${configure.compiler} eq "macports-clang-3.5" } {
    536537        default_variants-append +clang35
     538    } elseif { ${configure.compiler} eq "macports-clang-3.6" } {
     539        default_variants-append +clang36
    537540    }
    538541}
    539542