Ticket #47477: root.diff
File root.diff, 2.1 KB (added by cjones051073 (Chris Jones), 10 years ago) |
---|
-
Portfile
10 10 PortGroup select 1.0 11 11 12 12 # 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 13 github.setup root-mirror root 9ab0642adeca5d3703783bdbfeebfca86ea22af9 14 #github.setup root-mirror root 6-03-02 v 15 version 6.03.02.91 15 16 16 17 # this could be a better way to set the version (unless we use a sha sum for the git tag ;) 17 18 # version [string map {- .} $version] 18 19 set version_major [lindex [split ${version} .] 0] 19 20 20 checksums rmd160 e1835e242045dd4b4014f378d0166a55acb277e4\21 sha256 e0d5f40fa7c4459aff6dd1721d3a9e0169b3ba9e6cd5e1194f894512133305b721 checksums rmd160 a4f3e4248b4e5be9540dab481e5e919e66e40142 \ 22 sha256 006dc44790d84eddfaaef90418a484e3cbb6d3978e731ea7a9b09e732f147c18 22 23 23 24 name root${version_major} 24 25 categories science … … 57 58 58 59 # Force a compatible compiler 59 60 compiler.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 61 compiler.fallback-append macports-clang-3.4 macports-clang-3.5 macports-clang-3.6 61 62 62 63 # port specific location 63 64 set install_prefix ${prefix}/libexec/root${version_major} … … 510 511 # ======================================================================================== 511 512 512 513 # List of possible clang versions that work 513 set clang_versions { 3.3 3.4 3.5 }514 set clang_versions { 3.3 3.4 3.5 3.6 } 514 515 515 516 # Define the available variants 516 517 foreach clang_ver ${clang_versions} { … … 534 535 default_variants-append +clang34 535 536 } elseif { ${configure.compiler} eq "macports-clang-3.5" } { 536 537 default_variants-append +clang35 538 } elseif { ${configure.compiler} eq "macports-clang-3.6" } { 539 default_variants-append +clang36 537 540 } 538 541 } 539 542