summaryrefslogtreecommitdiff
path: root/games/torcs/torcs.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-29 19:18:57 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-29 19:19:26 +0200
commit5336d422f516920d20be55220baf68d5cef162be (patch)
tree6e6c0dff928d76e1a70661fcffb9ce15a89294ff /games/torcs/torcs.SlackBuild
parentc2c8cf0a577774886c19dca2e2c0acc58a1e5876 (diff)
downloadslackbuilds-5336d422f516920d20be55220baf68d5cef162be.tar.gz
games/torcs: Forced -j1 (parallel building seems broken).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/torcs/torcs.SlackBuild')
-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