Ticket #42677: root.diff
File root.diff, 3.0 KB (added by cjones051073 (Chris Jones), 11 years ago) |
---|
-
science/root/Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name root 7 version 5.34.1 57 version 5.34.17 8 8 9 9 categories science 10 10 maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc … … 19 19 master_sites http://root.cern.ch/download/ \ 20 20 ftp://root.cern.ch/root/ 21 21 22 checksums rmd160 bac74c87947028353399450da53cd83556d598b4\23 sha256 d1dcddd17084de4001847841835cf56dcd5affcfa28d46d2516928efd97b71ae22 checksums rmd160 0770aeb370699162c0f02c561060ee5388dd5ddb \ 23 sha256 8e7e13d41e13b6837a3bc784f86e491bed2ee37c157a3be8c74ead9b33c2be8a 24 24 25 25 worksrcdir root 26 26 27 27 depends_lib port:xz \ 28 28 port:pcre \ 29 port:Xft2 \30 port:xorg-libX11 \31 port:mesa \32 29 port:zlib \ 33 30 port:jpeg \ 34 31 port:libpng \ 35 32 port:giflib \ 36 33 port:tiff \ 37 34 port:gmp \ 38 port:xpm \39 35 port:expat 40 36 # port:freetype 41 37 … … 98 94 --disable-gviz \ 99 95 --disable-soversion \ 100 96 --disable-c++11 \ 101 --disable-cocoa \102 97 --disable-xrootd \ 103 98 --enable-builtin-ftgl \ 104 99 --enable-mathmore \ … … 138 133 139 134 # Since ROOT 5.34.15 the cocoa backend is default on OSX 10.8 or newer, so do the same 140 135 if {${os.major} > 11} { 141 default_variants-append +cocoa 136 set default_gui_variant +cocoa 137 } else { 138 set default_gui_variant +x11 142 139 } 143 140 144 141 post-destroot { … … 388 385 depends_lib-append port:pythia 389 386 } 390 387 391 variant cocoa description {Enables native OSX graphical backend instead of X11} {388 variant cocoa conflicts x11 description {Enables native OSX graphical backend} { 392 389 # Force a compatible clang compiler 393 390 PortGroup compiler_blacklist_versions 1.0 394 391 compiler.blacklist-append {clang < 425} *gcc* macports-clang-3.3 macports-clang-2.9 macports-clang-3.0 … … 400 397 patchfiles-append patch-builtin-afterimage-disabletiff.diff 401 398 } 402 399 400 variant x11 conflicts cocoa {Enables X11 graphical backend} { 401 # Dependencies on X11 ports 402 depends_lib-append port:xorg-libX11 port:mesa port:Xft2 port:xpm 403 # Disable cocoa 404 configure.args-append --disable-cocoa 405 } 406 407 # If neither graphical variant is set, use default 408 if { ![variant_isset cocoa] && ![variant_isset x11] } { 409 default_variants-append ${default_gui_variant} 410 } 411 403 412 variant clang31 conflicts clang32 clang33 description {Compile using MacPorts clang 3.1} { 404 413 configure.compiler macports-clang-3.1 405 414 }