Ticket #36293: root.diff
File root.diff, 3.5 KB (added by cjones051073 (Chris Jones), 12 years ago) |
---|
-
science/root/Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name root 7 version 5.34.0 18 revision 27 version 5.34.02 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 b0f4b67c7def56e78addff18ce19553ed3e5e966\23 sha256 8910333b73051225b05829c1603f5c89be2da9d8577fd646e7fdc0626ecd35be22 checksums rmd160 fe5b66552e3b70a90add16a271d86a4a7a94d788 \ 23 sha256 401ae3b69a397e0ab557faf640a13f49f8aab41dc03b4e7ebddbe37be32fedb1 24 24 25 25 worksrcdir root 26 26 … … 113 113 --enable-table \ 114 114 --enable-fink 115 115 116 # Seem to cause build problems with FTGL ... 117 # --with-x11-libdir=${prefix}/lib \ 118 # --with-xpm-libdir=${prefix}/lib \ 116 universal_variant no 119 117 120 pre-build { 121 build.args CC=${configure.cc} \ 122 CXX=${configure.cxx} \ 123 F77=${configure.f77} 124 } 125 126 universal_variant no 127 128 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion 118 default_variants +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion 129 119 130 120 variant soversion description {Builds port with soversion support} { 131 121 configure.args-delete --disable-soversion … … 188 178 depends_lib-append port:openldap 189 179 } 190 180 191 variant roofit description {Build the libRooFit advanced fitting package} {181 variant roofit description {Build the RooFit advanced fitting package} { 192 182 configure.args-delete --disable-roofit 193 183 configure.args-append --enable-roofit 194 184 } … … 320 310 depends_lib-append port:pythia 321 311 } 322 312 323 variant cocoa description {Enables a native OSX cocoa graphical backend instead of usingX11} {313 variant cocoa description {Enables (experimental) native OSX graphical backend instead of X11} { 324 314 # Check we are using a clang compiler 325 315 pre-fetch { 326 316 if { ![string match "*clang*" ${configure.compiler}] } { … … 331 321 return -code error "Unsupported compiler for cocoa support" 332 322 } 333 323 } 334 configure.args-append --enable-cocoa 324 # Disable asimage and astiff, as causes build failures with cocoa enabled ?? 325 # Not clear why. To be looked into ... 326 configure.args-append --enable-cocoa --disable-asimage --disable-astiff 335 327 # Fix a small issue with the cocoa backend where the 'root' command is not created ... 336 328 post-destroot { 337 329 system "( cd ${destroot}${prefix}/bin ; ln -s root.exe root )" … … 407 399 # The following have build issues or are obsolete. Keep just for reference for the moment 408 400 # ======================================================================================== 409 401 402 # Intefers with builtin freetype build (enforced by cocoa variant) 403 # Also do not seem to be actually needed any more 404 #pre-build { 405 # build.args CC=${configure.cc} \ 406 # CXX=${configure.cxx} \ 407 # F77=${configure.f77} 408 #} 409 410 410 # variant cling requires clang31 description {EXPERIMENTAL - Enable cling interpreter backend} { 411 411 # configure.args-append --enable-cling 412 412 # }