xbps-src: make makejobs work again for tmpls with custom do_build().
This commit is contained in:
@@ -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
|
||||
|
@@ -104,7 +104,7 @@ reset_tmpl_vars()
|
||||
ignore_vdeps_dir noverifyrdeps conflicts dkms_modules \
|
||||
gconf_entries gconf_schemas stow_copy stow_copy_files \
|
||||
pycompile_dirs pycompile_module systemd_services \
|
||||
homepage license kernel_hooks_version \
|
||||
homepage license kernel_hooks_version makejobs \
|
||||
SUBPKG XBPS_EXTRACT_DONE XBPS_CONFIGURE_DONE \
|
||||
XBPS_BUILD_DONE XBPS_INSTALL_DONE FILESDIR DESTDIR \
|
||||
SRCPKGDESTDIR PATCHESDIR CFLAGS CXXFLAGS CPPFLAGS \
|
||||
|
Reference in New Issue
Block a user