Ports: Make the number of compile jobs configurable

This commit is contained in:
Tim Schumacher 2022-04-29 22:21:40 +02:00 committed by Linus Groh
parent 7eb8d13f84
commit d8ce2802e0

View file

@ -2,6 +2,7 @@
set -eu
SCRIPT="$(dirname "${0}")"
export MAKEJOBS="${MAKEJOBS:-$(nproc)}"
maybe_source() {
if [ -f "$1" ]; then
@ -46,7 +47,7 @@ host_env() {
packagesdb="${DESTDIR}/usr/Ports/packages.db"
makeopts=("-j$(nproc)")
makeopts=("-j${MAKEJOBS}")
installopts=()
configscript=configure
configopts=()