Ticket #52465: root5.diff
File root5.diff, 2.1 KB (added by cjones051073 (Chris Jones), 8 years ago) |
---|
-
Portfile
8 8 PortGroup compiler_blacklist_versions 1.0 9 9 PortGroup github 1.0 10 10 11 github.setup root-mirror root 5-34-36 v 12 version 5.34.36 11 github.setup root-mirror root c06fdeae0b3b4d627aacef2bda9df0acd079626b 12 #github.setup root-mirror root 5-34-36 v 13 version 5.34.37 13 14 14 15 set version_major [lindex [split ${version} .] 0] 15 16 16 checksums rmd160 bd19fe36d42928fe2e6b6df6f055f5cc0e6bece5\17 sha256 8482b84a90928ef7eb44b9172f961b8b9607969959ab175eeff812cd91dd489317 checksums rmd160 4d28ced0f6faee87e5dd7130f96c15fd0237041b \ 18 sha256 da68645b5c31b6fe2c52cf73a6f7c848d3ccdd2ef68436b953c95c55cb030468 18 19 19 20 name root${version_major} 20 21 categories science … … 49 50 select.group root 50 51 select.file ${filespath}/${name} 51 52 53 # Force a compatible compiler 54 compiler.blacklist-append *gcc* {clang < 500} macports-clang-3.3 55 compiler.fallback-append macports-clang-3.8 macports-clang-3.7 macports-clang-3.6 macports-clang-3.5 56 52 57 post-patch { 53 58 # reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in 54 59 reinplace "s|\"/usr/include\"|\"${prefix}/include /usr/include\"|g" ${worksrcpath}/configure … … 487 492 # ======================================================================================== 488 493 489 494 # List of possible clang versions that work 490 set clang_versions { 3. 3 3.4 3.5}495 set clang_versions { 3.4 3.5 3.6 3.7 3.8 } 491 496 492 497 # Define the available variants 493 498 foreach ver ${clang_versions} { … … 574 579 # Note that g95 does not work here, so that variant is removed 575 580 # ======================================================================================== 576 581 577 set gcc_versions { 4. 3 4.4 4.5 4.6 4.7 4.8 4.9 5}578 set default_fortran_variant +gcc 5582 set gcc_versions { 4.7 4.8 4.9 5 6 } 583 set default_fortran_variant +gcc6 579 584 580 585 foreach ver ${gcc_versions} { 581 586 set ver_no_dot [join [split ${ver} "."] ""]