Ticket #41572: root.diff

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

    old new  
    55
    66name                root
    77version             5.34.12
     8revision            1
    89
    910categories          science
    1011maintainers         gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc
     
    2425
    2526worksrcdir          root
    2627
    27 depends_lib         port:freetype \
    28                     port:xz \
     28depends_lib         port:xz \
    2929                    port:pcre \
    3030                    port:Xft2 \
    3131                    port:xorg-libX11 \
     
    3838                    port:gmp \
    3939                    port:xpm \
    4040                    port:expat
     41#                   port:freetype
    4142
    4243post-patch {
    43     reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in
     44#    reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in
    4445    reinplace "s|\"/usr/include\"|\"${prefix}/include /usr/include\"|g" ${worksrcpath}/configure
    4546    reinplace "s|/usr/lib |${prefix}/lib /usr/lib |g" ${worksrcpath}/configure
    4647    reinplace "s|/usr/include |${prefix}/include /usr/include |g" ${worksrcpath}/configure
     
    6667                    --testdir=${prefix}/share/${name}/test \
    6768                    --tutdir=${prefix}/share/${name}/tutorials \
    6869                    --etcdir=${prefix}/etc/${name} \
    69                     --disable-builtin-freetype \
    7070                    --disable-builtin-glew \
    7171                    --disable-builtin-pcre \
    7272                    --disable-builtin-zlib \
     
    109109                    --enable-reflex \
    110110                    --enable-table \
    111111                    --enable-fink \
    112                     --enable-gdml
     112                    --enable-gdml \
     113                    --enable-builtin-freetype
    113114
    114115platform darwin {
    115116    set cxx_stdlib {}