Ticket #24680: Portfile-root.diff
File Portfile-root.diff, 1.2 KB (added by mattiafrancescomoro@…, 15 years ago) |
---|
-
Portfile
old new 32 32 build.args CC=${configure.cc} \ 33 33 CXX=${configure.cxx} \ 34 34 F77=${configure.f77} 35 36 reinplace "s|-lfreetype| \`freetype-config --libs\`|g" ${worksrcpath}/config/root-config.in 37 reinplace "s|\"/usr/include\"|\"${prefix}/include/\" \"/usr/include\"|g" ${worksrcpath}/configure 38 reinplace "s|/usr/lib |${prefix}/lib /usr/lib |g" ${worksrcpath}/configure 39 reinplace "s|/usr/include |${prefix}/include /usr/include |g" ${worksrcpath}/configure 40 reinplace "s|\"/usr/lib\"|\"${prefix}/lib/\" \"/usr/lib\"g|" ${worksrcpath}/configure 41 35 42 } 36 43 37 44 configure.args --with-cc=${configure.cc} \ … … 141 148 variant xml description {Builds port with xml support} { 142 149 configure.args-delete --disable-xml 143 150 configure.args-append --enable-xml \ 144 --with-xml-incdir="${prefix}/include " \151 --with-xml-incdir="${prefix}/include/libxml2" \ 145 152 --with-xml-libdir="${prefix}/lib" 146 153 depends_lib-append port:libxml2 147 154 }