aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 18:26:52 +0700
committerRobby Workman <rworkman@slackbuilds.org>2022-02-27 22:29:04 -0600
commit84514d90002a70ba0f8659378532dae61c00ae64 (patch)
tree31f391e89b476c1781a007dd64f9b789199aef52
parentcdaf009574e5df91bbbee4b13a8186c0f2da87a9 (diff)
games/wesnoth: Remove NUMJOBS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/wesnoth/wesnoth.SlackBuild15
1 files changed, 0 insertions, 15 deletions
diff --git a/games/wesnoth/wesnoth.SlackBuild b/games/wesnoth/wesnoth.SlackBuild
index 9d0b6faedfd4..6e1ed53ca279 100644
--- a/games/wesnoth/wesnoth.SlackBuild
+++ b/games/wesnoth/wesnoth.SlackBuild
@@ -73,20 +73,6 @@ fi
set -e
-if [ -z "$NUMJOBS" ]; then
- # 20220221 bkw: everything else respects MAKEFLAGS, set NUMJOBS here
- # from environment MAKEFLAGS, if we can...
- NUMJOBS="$( echo $MAKEFLAGS | sed 's,.*-j *\([0-9][0-9]*\).*,\1,' )"
-
- # ...if not, cores - 1:
- [ -z "$NUMJOBS" ] && NUMJOBS=$(( $( nproc ) - 1 ))
-
- # ...but not if we only had one core!
- [ "$NUMJOBS" = "0" ] && NUMJOBS=1
-fi
-
-echo "=== NUMJOBS='$NUMJOBS'"
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
@@ -113,7 +99,6 @@ scons \
icondir=/usr/share/icons \
desktopdir=/usr/share/applications \
$OPT_SERVER \
- jobs=${NUMJOBS} \
wesnoth wesnothd campaignd
scons install destdir=$PKG