Add disable_parallel_build option.

To disable -jX per template.

--HG--
extra : convert_revision : cd5765c13ab9d1b465077d4367b762490a48bc5b
This commit is contained in:
Juan RP 2008-10-27 10:45:07 +01:00
parent d006008d5e
commit c2362703e2

View File

@ -256,6 +256,7 @@ reset_tmpl_vars()
postinstall_helpers make_install_target version \
ignore_files tar_override_cmd xml_entries sgml_entries \
build_depends libtool_fixup_la_stage no_fixup_libtool \
disable_parallel_build \
XBPS_EXTRACT_DONE XBPS_CONFIGURE_DONE \
XBPS_BUILD_DONE XBPS_INSTALL_DONE"
@ -834,7 +835,8 @@ build_src_phase()
run_func pre_build
[ -z "$make_build_target" ] && make_build_target=
[ -n "$XBPS_MAKEJOBS" ] && makejobs="-j$XBPS_MAKEJOBS"
[ -n "$XBPS_MAKEJOBS" -a -z "$disable_parallel_build" ] && \
makejobs="-j$XBPS_MAKEJOBS"
# Export make_env vars.
for f in ${make_env}; do