summaryrefslogtreecommitdiff
path: root/games/torcs
diff options
context:
space:
mode:
Diffstat (limited to 'games/torcs')
-rw-r--r--games/torcs/torcs.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/torcs/torcs.SlackBuild b/games/torcs/torcs.SlackBuild
index 6118f0024f..366f79832b 100644
--- a/games/torcs/torcs.SlackBuild
+++ b/games/torcs/torcs.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=torcs
VERSION=${VERSION:-1.3.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -60,7 +60,10 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make
+# Cut away jobs number from the MAKEFLAGS
+MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g")
+
+make -j1
make install DESTDIR=$PKG
make datainstall DESTDIR=$PKG