xbps-src: make makejobs work again for tmpls with custom do_build().
This commit is contained in:
parent
917c78a25a
commit
0bfacff19e
3 changed files with 5 additions and 4 deletions
|
@ -43,6 +43,10 @@ build_src_phase()
|
|||
cd $build_wrksrc || return 1
|
||||
fi
|
||||
|
||||
if [ -n "$XBPS_MAKEJOBS" -a -z "$disable_parallel_build" ]; then
|
||||
makejobs="-j$XBPS_MAKEJOBS"
|
||||
fi
|
||||
|
||||
# Run pre_build func.
|
||||
if [ ! -f $XBPS_PRE_BUILD_DONE ]; then
|
||||
run_func pre_build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue