Ticket #32400: root.diff

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

    old new  
    44PortSystem          1.0
    55
    66name                root
    7 version             5.30.03
     7version             5.32.00
    88revision            0
    99categories          science
    1010maintainers         gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
    1111license             LGPL-2.1+
    12 description         Root cern data analysis framework
     12description         ROOT is a data analysis framework from CERN
    1313long_description    The ROOT system provides a set of frameworks with all \
    1414                    the functionality needed to handle and analyze large amounts \
    1515                    of data in a very efficient way
     
    1919master_sites        http://root.cern.ch/download/ \
    2020                    ftp://root.cern.ch/root/
    2121
    22 checksums           sha1    d2cd2855905a7f2f63366e0fc38f15a49881b792 \
    23                     rmd160  b85ad6f248d94755aa9ce6a872ea6ce4d90d8373
     22checksums           sha1    b7375d53dd845505196d12a7d66c3b2d8e1b0336 \
     23                    rmd160  e8b0c9b4e60334fb9f01b4cf70cdaed518c62bae
    2424
    2525worksrcdir          root
    2626
     
    4040
    4141patchfiles          patch-configure.diff
    4242
     43if {${configure.compiler} == "clang"} {
     44    configure.compiler llvm-gcc-4.2
     45}
     46
    4347post-patch {
    4448    reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in
    4549    reinplace "s|\"/usr/include\"|\"${prefix}/include/\" \"/usr/include\"|g" ${worksrcpath}/configure
     
    108112
    109113universal_variant   no
    110114
    111 default_variants    +ssl +xml +opengl +gsl +minuit2 +tmva +roofit
     115default_variants    +ssl +xml +gsl +minuit2 +tmva +roofit
    112116
    113117variant fftw3 description {Builds port with fftw3 support} {
    114118    configure.args-delete   --disable-fftw3
     
    156160    depends_lib-append      port:openldap
    157161}
    158162
    159 variant roofit description { Build the libRooFit advanced fitting package} {
     163variant roofit description {Build the libRooFit advanced fitting package} {
    160164    configure.args-delete   --disable-roofit
    161165    configure.args-append   --enable-roofit
    162166}
    163167
    164 variant tmva description { Build the TMVA package} {
     168variant tmva description {Build the TMVA package} {
    165169    configure.args-delete   --disable-tmva
    166170    configure.args-append   --enable-tmva
    167171}
     
    314318    depends_lib-append      port:pythia
    315319}
    316320
    317 variant gcc44 conflicts gcc45 description {Compile using MacPorts gcc 4.4} {
     321variant gcc44 conflicts gcc45 gcc46 description {Compile using MacPorts gcc 4.4} {
    318322    configure.compiler      macports-gcc-4.4
    319323    depends_lib-append      port:gcc44
    320324}
    321325
    322 variant gcc45 conflicts gcc44 description {Compile using MacPorts gcc 4.5} {
     326variant gcc45 conflicts gcc44 gcc46 description {Compile using MacPorts gcc 4.5} {
    323327    configure.compiler      macports-gcc-4.5
    324328    depends_lib-append      port:gcc45
    325329}
    326330
    327 # Build issues
    328 #variant gcc46 conflicts gcc44 gcc45 description {Compile using MacPorts gcc 4.6} {
    329 #    configure.compiler      macports-gcc-4.6
    330 #    depends_lib-append      port:gcc46
    331 #}
     331variant gcc46 conflicts gcc44 gcc45 description {Compile using MacPorts gcc 4.6} {
     332    configure.compiler      macports-gcc-4.6
     333    depends_lib-append      port:gcc46
     334}
    332335
    333336# Build issues.
    334337# variant kerberos5 description {Builds port with kerberos5 support} {