Ticket #41572: root.diff
File root.diff, 2.0 KB (added by cjones051073 (Chris Jones), 11 years ago) |
---|
-
science/root/Portfile
old new 5 5 6 6 name root 7 7 version 5.34.12 8 revision 1 8 9 9 10 categories science 10 11 maintainers gmail.com:mattiafrancescomoro hep.phy.cam.ac.uk:jonesc … … 24 25 25 26 worksrcdir root 26 27 27 depends_lib port:freetype \ 28 port:xz \ 28 depends_lib port:xz \ 29 29 port:pcre \ 30 30 port:Xft2 \ 31 31 port:xorg-libX11 \ … … 38 38 port:gmp \ 39 39 port:xpm \ 40 40 port:expat 41 # port:freetype 41 42 42 43 post-patch { 43 reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in44 # reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in 44 45 reinplace "s|\"/usr/include\"|\"${prefix}/include /usr/include\"|g" ${worksrcpath}/configure 45 46 reinplace "s|/usr/lib |${prefix}/lib /usr/lib |g" ${worksrcpath}/configure 46 47 reinplace "s|/usr/include |${prefix}/include /usr/include |g" ${worksrcpath}/configure … … 66 67 --testdir=${prefix}/share/${name}/test \ 67 68 --tutdir=${prefix}/share/${name}/tutorials \ 68 69 --etcdir=${prefix}/etc/${name} \ 69 --disable-builtin-freetype \70 70 --disable-builtin-glew \ 71 71 --disable-builtin-pcre \ 72 72 --disable-builtin-zlib \ … … 109 109 --enable-reflex \ 110 110 --enable-table \ 111 111 --enable-fink \ 112 --enable-gdml 112 --enable-gdml \ 113 --enable-builtin-freetype 113 114 114 115 platform darwin { 115 116 set cxx_stdlib {}