Ticket #23531: patch-Portfile.diff

File patch-Portfile.diff, 585 bytes (added by raphael-st (Raphael Straub), 14 years ago)
  • Portfile

     
    6464
    6565use_parallel_build  no
    6666
    67 pre-build {
    68     set jobs ${build.jobs}
    69     # if set to '0', use the number of cores for the number of jobs
    70     if {${jobs} == 0} {
    71         set jobs [exec /usr/sbin/sysctl -n hw.availcpu]
    72     }
    73     if {[string is integer -strict ${jobs}] && ${jobs} > 1} {
    74         build.pre_args-append   -j${jobs}
    75     }
    76 }
    77 
    7867destroot.cmd        bjam
    7968destroot.destdir    --prefix=${destroot}${prefix}
    8069