Ticket #38868: root.diff
File root.diff, 4.3 KB (added by cjones051073 (Chris Jones), 12 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name root 7 version 5.34.0 58 revision 17 version 5.34.06 8 revision 0 9 9 categories science 10 10 maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc 11 11 license LGPL-2.1+ … … 19 19 master_sites http://root.cern.ch/download/ \ 20 20 ftp://root.cern.ch/root/ 21 21 22 checksums rmd160 eeb3c54b292ee6258c33d16ef28c03aa9fa077c3\23 sha256 448e180a5ed6f53b5ee49ead014a98e742e97198a4ca760f086467db5d230c9d22 checksums rmd160 643fd9b787f52843295b1e6ae8f22622141c3337 \ 23 sha256 ddbec31fee5bd645203d8c464f98bb29e7ce2bc63976fba885c2ed0b1a09016a 24 24 25 25 worksrcdir root 26 26 … … 368 368 variant cocoa description {Enables native OSX graphical backend instead of X11} { 369 369 # Check we are using a clang compiler 370 370 pre-fetch { 371 if { ![string match "*clang*" ${configure.compiler}] } {371 if { ![string match "*clang*" ${configure.compiler}] || [string match "macports-clang-3.3" ${configure.compiler}] } { 372 372 ui_error "The cocoa variant is experimental and can currently only be built" 373 ui_error "using a clang compiler. Your current compiler is ${configure.compiler}."374 ui_error "Please try again using either the clang31 variant, or the system"375 ui_error " clang compiler using configure.compiler=clang"373 ui_error "using a clang(<3.3) compiler. Your current compiler is ${configure.compiler}." 374 ui_error "Please try again using either of the clang31 or clang32 variants," 375 ui_error "or the system clang compiler using configure.compiler=clang" 376 376 return -code error "Unsupported compiler for cocoa support" 377 377 } 378 378 } … … 383 383 patchfiles-append patch-builtin-afterimage-disabletiff.diff 384 384 } 385 385 386 variant gcc45 conflicts gcc46 gcc47 gcc48 clang31 description {Compile using MacPorts gcc 4.5} {386 variant gcc45 conflicts gcc46 gcc47 gcc48 clang31 clang32 clang33 description {Compile using MacPorts gcc 4.5} { 387 387 configure.compiler macports-gcc-4.5 388 388 depends_lib-append port:gcc45 389 389 } 390 390 391 variant gcc46 conflicts gcc45 gcc47 gcc48 clang31 description {Compile using MacPorts gcc 4.6} {391 variant gcc46 conflicts gcc45 gcc47 gcc48 clang31 clang32 clang33 description {Compile using MacPorts gcc 4.6} { 392 392 configure.compiler macports-gcc-4.6 393 393 depends_lib-append port:gcc46 394 394 } 395 395 396 variant gcc47 conflicts gcc45 gcc46 gcc48 clang31 description {Compile using MacPorts gcc 4.7} {396 variant gcc47 conflicts gcc45 gcc46 gcc48 clang31 clang32 clang33 description {Compile using MacPorts gcc 4.7} { 397 397 configure.compiler macports-gcc-4.7 398 398 depends_lib-append port:gcc47 399 399 } 400 400 401 variant gcc48 conflicts gcc45 gcc46 gcc47 clang31 description {Compile using MacPorts gcc 4.8} {401 variant gcc48 conflicts gcc45 gcc46 gcc47 clang31 clang32 clang33 description {Compile using MacPorts gcc 4.8} { 402 402 configure.compiler macports-gcc-4.8 403 403 depends_lib-append port:gcc48 404 404 } 405 405 406 variant clang31 conflicts gcc45 gcc46 gcc47 gcc48 description {Compile using MacPorts clang 3.1} {406 variant clang31 conflicts gcc45 gcc46 gcc47 gcc48 clang32 clang33 description {Compile using MacPorts clang 3.1} { 407 407 configure.compiler macports-clang-3.1 408 408 depends_lib-append port:clang-3.1 409 409 configure.args-append --with-llvm-config="${prefix}/bin/llvm-config-mp-3.1" 410 410 } 411 411 412 variant clang32 conflicts gcc45 gcc46 gcc47 gcc48 clang31 clang33 description {Compile using MacPorts clang 3.2} { 413 configure.compiler macports-clang-3.2 414 depends_lib-append port:clang-3.2 415 configure.args-append --with-llvm-config="${prefix}/bin/llvm-config-mp-3.2" 416 } 417 418 variant clang33 conflicts gcc45 gcc46 gcc47 gcc48 clang31 clang32 description {Compile using MacPorts clang 3.3} { 419 configure.compiler macports-clang-3.3 420 depends_lib-append port:clang-3.3 421 configure.args-append --with-llvm-config="${prefix}/bin/llvm-config-mp-3.3" 422 } 423 412 424 if {[variant_isset qt_mac]} { 413 425 PortGroup qt4 1.0 414 426 }