Ticket #36777: root-Portfile.diff

File root-Portfile.diff, 1.8 KB (added by cjones051073 (Chris Jones), 12 years ago)
  • Portfile

    old new  
    55
    66name                root
    77version             5.34.03
    8 revision            0
     8revision            1
    99categories          science
    1010maintainers         gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
    1111license             LGPL-2.1+
     
    353353            return -code error "Unsupported compiler for cocoa support"
    354354        }
    355355    }
    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
    363360}
    364361
    365362variant gcc45 conflicts gcc46 gcc47 gcc48 clang31 description {Compile using MacPorts gcc 4.5} {
     
    383380}
    384381
    385382variant clang31 conflicts gcc45 gcc46 gcc47 gcc48 description {Compile using MacPorts clang 3.1} {
    386      configure.compiler      macports-clang-3.1
    387      depends_lib-append      port:clang-3.1
    388      configure.args-append   --with-llvm-config="${prefix}/bin/llvm-config-mp-3.1"
     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"
    389386}
    390387
    391388if {[variant_isset qt_mac]} {