summaryrefslogtreecommitdiffstats
path: root/games/wesnoth
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2022-02-27 12:26:52 +0100
committer Robby Workman2022-02-28 05:29:04 +0100
commit84514d90002a70ba0f8659378532dae61c00ae64 (patch)
tree31f391e89b476c1781a007dd64f9b789199aef52 /games/wesnoth
parentcdaf009574e5df91bbbee4b13a8186c0f2da87a9 (diff)
downloadslackbuilds-84514d90002a70ba0f8659378532dae61c00ae64.tar.gz
games/wesnoth: Remove NUMJOBS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/wesnoth')
-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 9d0b6faedf..6e1ed53ca2 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