Ignore:
Timestamp:
Jul 30, 2007, 2:47:32 PM (10 years ago)
Author:
takanori@…
Message:

port:tcl fails to build if port:odcctools is installed.
This is a workaround for that problem. (Ticket #12360)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/tcl/Portfile

    r26048 r27347  
    2121configure.args  --mandir=${prefix}/share/man
    2222
     23post-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
    2332destroot.destdir  INSTALL_ROOT=${destroot}
    2433post-destroot {
Note: See TracChangeset for help on using the changeset viewer.