games/adl: Fix build for -current.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-06-21 04:10:04 -04:00 committed by Willy Sudiarto Raharjo
parent bb665a67c6
commit c6bcf41517

View file

@ -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.