Ticket #36293: root.diff

File root.diff, 3.5 KB (added by cjones051073 (Chris Jones), 12 years ago)
  • science/root/Portfile

    old new  
    44PortSystem          1.0
    55
    66name                root
    7 version             5.34.01
    8 revision            2
     7version             5.34.02
     8revision            0
    99categories          science
    1010maintainers         gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
    1111license             LGPL-2.1+
     
    1919master_sites        http://root.cern.ch/download/ \
    2020                    ftp://root.cern.ch/root/
    2121
    22 checksums           rmd160  b0f4b67c7def56e78addff18ce19553ed3e5e966 \
    23                     sha256  8910333b73051225b05829c1603f5c89be2da9d8577fd646e7fdc0626ecd35be
     22checksums           rmd160  fe5b66552e3b70a90add16a271d86a4a7a94d788 \
     23                    sha256  401ae3b69a397e0ab557faf640a13f49f8aab41dc03b4e7ebddbe37be32fedb1
    2424
    2525worksrcdir          root
    2626
     
    113113                    --enable-table \
    114114                    --enable-fink
    115115
    116 # Seem to cause build problems with FTGL ...
    117 #                    --with-x11-libdir=${prefix}/lib \
    118 #                    --with-xpm-libdir=${prefix}/lib \
     116universal_variant no
    119117
    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
     118default_variants  +ssl +xml +gsl +minuit2 +tmva +roofit +graphviz +opengl +soversion
    129119
    130120variant soversion description {Builds port with soversion support} {
    131121    configure.args-delete   --disable-soversion
     
    188178    depends_lib-append      port:openldap
    189179}
    190180
    191 variant roofit description {Build the libRooFit advanced fitting package} {
     181variant roofit description {Build the RooFit advanced fitting package} {
    192182    configure.args-delete   --disable-roofit
    193183    configure.args-append   --enable-roofit
    194184}
     
    320310    depends_lib-append      port:pythia
    321311}
    322312
    323 variant cocoa description {Enables a native OSX cocoa graphical backend instead of using X11} {
     313variant cocoa description {Enables (experimental) native OSX graphical backend instead of X11} {
    324314    # Check we are using a clang compiler
    325315    pre-fetch {
    326316        if { ![string match "*clang*" ${configure.compiler}] } {
     
    331321            return -code error "Unsupported compiler for cocoa support"
    332322        }
    333323    }
    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
    335327    # Fix a small issue with the cocoa backend where the 'root' command is not created ...
    336328    post-destroot {
    337329        system "( cd ${destroot}${prefix}/bin ; ln -s root.exe root )"
     
    407399# The following have build issues or are obsolete. Keep just for reference for the moment
    408400# ========================================================================================
    409401
     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
    410410# variant cling requires clang31 description {EXPERIMENTAL - Enable cling interpreter backend} {
    411411#       configure.args-append --enable-cling
    412412# }