Ticket #23531: patch-Portfile.diff
File patch-Portfile.diff, 585 bytes (added by raphael-st (Raphael Straub), 15 years ago) |
---|
-
Portfile
64 64 65 65 use_parallel_build no 66 66 67 pre-build {68 set jobs ${build.jobs}69 # if set to '0', use the number of cores for the number of jobs70 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 78 67 destroot.cmd bjam 79 68 destroot.destdir --prefix=${destroot}${prefix} 80 69