summaryrefslogtreecommitdiff
path: root/games/adl/adl.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-21 04:10:04 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:51 +0700
commitc6bcf415174c8ced71afaaa04fe285f35ec421e1 (patch)
tree559d478dc28a967c724d723b71a24eea912967ad /games/adl/adl.SlackBuild
parentbb665a67c60f11c9e8c719a335173f4bec71aa7d (diff)
downloadslackbuilds-c6bcf415174c8ced71afaaa04fe285f35ec421e1.tar.gz
games/adl: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/adl/adl.SlackBuild')
-rw-r--r--games/adl/adl.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/adl/adl.SlackBuild b/games/adl/adl.SlackBuild
index 1618562b2a..da464f8818 100644
--- a/games/adl/adl.SlackBuild
+++ b/games/adl/adl.SlackBuild
@@ -15,6 +15,9 @@
# independent. 32-bit adlcomp produces files that won't run on a 64-bit
# adlrun, and vice versa.
+# 20170621 bkw: add -j1 to the make commands. I got a mysterious
+# build failure that I couldn't duplicate, hopefully this fixes it.
+
PRGNAM=adl
VERSION=${VERSION:-19930322}
BUILD=${BUILD:-1}
@@ -74,7 +77,7 @@ patch -p1 < $CWD/compilefixes.diff
# 'make install' doesn't create directories.
mkdir -p $PKG/usr/games $PKG/usr/man/man6
-make all install BIN=$PKG/usr/games OPTFLAGS="$SLKCFLAGS"
+make -j1 all install BIN=$PKG/usr/games OPTFLAGS="$SLKCFLAGS"
# the adltouch utility is broken, don't include in package.
# adldebug also seems like it might be broken, but it might just be that
@@ -85,7 +88,7 @@ rm -f $PKG/usr/games/adltouch
cp -a samples/aard/aard samples/mpu/mpu $PKG/usr/games
# we're going to install samples/ in /usr/doc, but not the compiled games.
-make -C samples clean
+make -j1 -C samples clean
# use reconstituted man pages instead of the preformatted ones in the
# source. See fixman.sh.