Ticket #13304: slocate-universal.diff

File slocate-universal.diff, 533 bytes (added by nox@…, 17 years ago)
  • Portfile

     
    6565        ui_msg "If you want to disable the weekly update of the system's built-in locate,"
    6666        ui_msg "edit the file /etc/weekly.\n"
    6767}
     68
     69variant universal {
     70    build.args-append   LDFLAGS="${configure.universal_ldflags}"
     71
     72    post-configure {
     73        reinplace -E "/^CFLAGS=/s|\$| ${configure.universal_cflags}|" \
     74            ${worksrcpath}/src/Makefile
     75    }
     76}
     77