Ticket #44296: root5.diff
File root5.diff, 3.9 KB (added by cjones051073 (Chris Jones), 10 years ago) |
---|
-
Portfile
8 8 PortGroup compiler_blacklist_versions 1.0 9 9 10 10 name root5 11 version 5.34.1 811 version 5.34.19 12 12 set version_major [lindex [split ${version} .] 0] 13 13 14 14 categories science … … 24 24 master_sites http://root.cern.ch/download/ \ 25 25 ftp://root.cern.ch/root/ 26 26 27 checksums rmd160 2fbaff8f831611779b42480fcb86cbde34ef72bd\28 sha256 9196dce7d76b31e5bcabd985bd31bc4d9b7c8c4d0c7ce84f730efa4ef82a356727 checksums rmd160 8e8a92d8734bd3e30abae66794dac07085e9b7dc \ 28 sha256 c516d167434c7d6d9c6a2f44f7b4af4115d3d0e3389ba79999ae984aee61356d 29 29 30 30 worksrcdir root 31 31 … … 107 107 --disable-c++11 \ 108 108 --disable-xrootd \ 109 109 --disable-oracle \ 110 --disable-http \ 111 --disable-vc \ 110 112 --enable-builtin-ftgl \ 111 113 --enable-mathmore \ 112 114 --enable-genvector \ … … 181 183 ui_msg "======================================================================================" 182 184 } 183 185 184 universal_variant 186 universal_variant no 185 187 186 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion188 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion +http 187 189 188 190 # Since ROOT 5.34.15 the cocoa backend is default on OSX 10.8 or newer 189 191 # We also make it default on 10.7 … … 193 195 set default_gui_variant +x11 194 196 } 195 197 198 variant http description {Build with HTTP Server library support} { 199 configure.args-replace --disable-http --enable-http 200 } 201 202 variant vc description {Build with Vc library support} { 203 configure.args-replace --disable-vc --enable-vc 204 } 205 196 206 variant debug description {Enable a debug build} { 197 207 configure.args-append --build=debug 198 208 } … … 206 216 } 207 217 208 218 variant soversion description {Build with soversion support} { 209 configure.args-delete --disable-soversion 210 configure.args-append --enable-soversion 219 configure.args-replace --disable-soversion --enable-soversion 211 220 } 212 221 213 222 variant graphviz description {Build with graphviz support} { … … 267 276 } 268 277 269 278 variant roofit description {Build the RooFit advanced fitting package} { 270 configure.args-delete --disable-roofit 271 configure.args-append --enable-roofit 279 configure.args-replace --disable-roofit --enable-roofit 272 280 } 273 281 274 282 variant tmva description {Build the TMVA package} { 275 configure.args-delete --disable-tmva 276 configure.args-append --enable-tmva 283 configure.args-replace --disable-tmva --enable-tmva 277 284 post-destroot { 278 285 set tmvaTuts ${destroot}${install_prefix}/share/root/tutorial/tmva 279 286 file mkdir ${tmvaTuts} … … 282 289 } 283 290 284 291 variant minuit2 description {Build with minuit2 support} { 285 configure.args-delete --disable-minuit2 286 configure.args-append --enable-minuit2 292 configure.args-replace --disable-minuit2 --enable-minuit2 287 293 } 288 294 289 295 variant opengl description {Build with opengl support} { … … 487 493 eval $variant_line 488 494 } 489 495 496 # make sure that the proper variant is automatically selected 497 # (ROOT crashes if the compiler it was built with doesn't exist) 498 if {![variant_isset clang33] && ![variant_isset clang34] && ![variant_isset clang35]} { 499 if { ${configure.compiler} eq "macports-clang-3.3" } { 500 default_variants-append +clang33 501 } elseif { ${configure.compiler} eq "macports-clang-3.4" } { 502 default_variants-append +clang34 503 } elseif { ${configure.compiler} eq "macports-clang-3.5" } { 504 default_variants-append +clang35 505 } 506 } 507 490 508 # Is a variant active ? 491 509 set active_clang_variant "" 492 510 foreach ver ${clang_versions} {