Hello ports, The attached patch makes devel/scons respect the MAKE_JOBS. It's particularly useful when building bigger ports like games/godot. It's similar to what cmake.port.mk does.
(this patch is unrelated to the scons update I'm going to submit, it works with both scons 2 and scons 4) Index: scons.port.mk =================================================================== RCS file: /home/cvs/ports/devel/scons/scons.port.mk,v retrieving revision 1.6 diff -u -p -r1.6 scons.port.mk --- scons.port.mk 2 Jul 2013 08:36:16 -0000 1.6 +++ scons.port.mk 24 Aug 2021 08:36:04 -0000 @@ -20,7 +20,8 @@ NO_CCACHE?=Yes MODSCONS_BUILD_TARGET = \ ${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKSRC} \ - ${MODSCONS_ENV} ${MODSCONS_FLAGS} ${ALL_TARGET} + ${MODSCONS_ENV} ${MODSCONS_FLAGS} -j ${MAKE_JOBS} \ + ${ALL_TARGET} MODSCONS_INSTALL_TARGET = \ ${SETENV} ${MAKE_ENV} ${MODSCONS_BIN} -C ${WRKSRC} \