Ticket #26768: qt4-mac-Portfile.diff

File qt4-mac-Portfile.diff, 639 bytes (added by michaelld (Michael Dickens), 14 years ago)

Split "find -E" into two separate "find"s.

  • (a) Portfile_4.6.3 vs. (b) Portfile

    a b  
    317317    set destroot_qt ${destroot}${qt_dir}
    318318
    319319    # Fix .pc and .prl files by changing ${worksrcpath}/lib to ${qt_dir}/lib
    320     foreach fixfile [exec find -E ${destroot_qt} \
    321                          -regex "\[^ \]*\\.\(pc|prl\)"] {
     320    foreach fixfile [exec find ${destroot_qt} -name "*.pc"] {
     321        reinplace "s|${worksrcpath}/lib|${qt_dir}/lib|g" ${fixfile}
     322    }
     323    foreach fixfile [exec find ${destroot_qt} -name "*.prl"] {
    322324        reinplace "s|${worksrcpath}/lib|${qt_dir}/lib|g" ${fixfile}
    323325    }
    324326