Ticket #12360: Portfile.diff
File Portfile.diff, 560 bytes (added by takanori@…, 17 years ago) |
---|
-
Portfile
20 20 worksrcdir ${name}${version}/unix 21 21 configure.args --mandir=${prefix}/share/man 22 22 23 post-patch { 24 # To avoid using odcctools' broken headers. 25 fs-traverse f ${worksrcpath} { 26 if [string match "*.c" ${f}] { 27 reinplace "s|<\\(mach-o/\[^>\]*\\)>|\"/usr/include/\\1\"|" ${f} 28 } 29 } 30 } 31 23 32 destroot.destdir INSTALL_ROOT=${destroot} 24 33 post-destroot { 25 34 cd ${destroot}${prefix}/bin