summaryrefslogtreecommitdiffstats
path: root/games/open-adventure/open-adventure.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/open-adventure/open-adventure.SlackBuild')
-rw-r--r--games/open-adventure/open-adventure.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/games/open-adventure/open-adventure.SlackBuild b/games/open-adventure/open-adventure.SlackBuild
index d33724b1f2..4ab94bbc9f 100644
--- a/games/open-adventure/open-adventure.SlackBuild
+++ b/games/open-adventure/open-adventure.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20201024 bkw: Update for v1.9.
# 20191211 bkw: Update for v1.8.
# 20181203 bkw: Update for v1.6.
@@ -15,7 +16,7 @@
# - New dependencies in .info file :(
PRGNAM=open-adventure
-VERSION=${VERSION:-1.8}
+VERSION=${VERSION:-1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,9 +69,17 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# As of v1.9, upstream carelessly checked a prebuilt binary into the repo.
+# Or maybe it was on purpose? Anyway don't use.
+make clean
+
# It'd be nice if I could pass my own CFLAGS without editing the Makefile...
sed -i "s,-O2,$SLKCFLAGS," Makefile
-make
+
+# 20201024 bkw: Parallel make causes ./make_dungeon.py to run
+# twice. This doesn't seem to hurt anything, but I can see how it
+# might someday. So -j1.
+make -j1
make $EXE.6
# no 'make install' target: