Ticket #36777: root-Portfile.diff
File root-Portfile.diff, 1.8 KB (added by cjones051073 (Chris Jones), 12 years ago) |
---|
-
Portfile
old new 5 5 6 6 name root 7 7 version 5.34.03 8 revision 08 revision 1 9 9 categories science 10 10 maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc 11 11 license LGPL-2.1+ … … 353 353 return -code error "Unsupported compiler for cocoa support" 354 354 } 355 355 } 356 # Disable asimage and astiff, as causes build failures with cocoa enabled ?? 357 # Not clear why. To be looked into ... 358 configure.args-append --enable-cocoa --disable-asimage --disable-astiff 359 # Fix a small issue with the cocoa backend where the 'root' command is not created ... 360 post-destroot { 361 system "( cd ${destroot}${prefix}/bin ; ln -s root.exe root )" 362 } 356 # Enable cocoa support in configure 357 configure.args-append --enable-cocoa 358 # patch afterimage build to make sure TIFF suport is disabled. Causes problems with cocoa... 359 patchfiles-append patch-builtin-afterimage-disabletiff.diff 363 360 } 364 361 365 362 variant gcc45 conflicts gcc46 gcc47 gcc48 clang31 description {Compile using MacPorts gcc 4.5} { … … 383 380 } 384 381 385 382 variant clang31 conflicts gcc45 gcc46 gcc47 gcc48 description {Compile using MacPorts clang 3.1} { 386 387 388 383 configure.compiler macports-clang-3.1 384 depends_lib-append port:clang-3.1 385 configure.args-append --with-llvm-config="${prefix}/bin/llvm-config-mp-3.1" 389 386 } 390 387 391 388 if {[variant_isset qt_mac]} {