Ticket #26268: Portfile-boost.diff

File Portfile-boost.diff, 956 bytes (added by grddev@…, 14 years ago)
  • Portfile

    old new  
    3535configure {
    3636    reinplace -E "s|-install_name \"|&${prefix}/lib/|" \
    3737        ${worksrcpath}/tools/build/v2/tools/darwin.jam
    38     write_jam "using darwin : : ${configure.cxx} ;"
     38    # Copied from portconfigure.tcl (modified below)
     39        # Set pre-compiler filter to use (ccache/distcc), if any.
     40        if {[tbool configure.ccache] && [tbool configure.distcc]} {
     41            set filter "ccache "
     42            # Modified from portconfigure.tcl
     43            ui_msg "Warning: boost does not support distcc with ccache"
     44        } elseif {[tbool configure.ccache]} {
     45            set filter "ccache "
     46        } elseif {[tbool configure.distcc]} {
     47            set filter "distcc "
     48        } else {
     49            set filter ""
     50        }
     51 
     52    write_jam "using darwin : : ${filter}${configure.cxx} ;"
    3953}
    4054
    4155build.cmd       bjam