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.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/open-adventure/open-adventure.SlackBuild b/games/open-adventure/open-adventure.SlackBuild
index a665eb8798..e2fac9d101 100644
--- a/games/open-adventure/open-adventure.SlackBuild
+++ b/games/open-adventure/open-adventure.SlackBuild
@@ -21,7 +21,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=open-adventure
-VERSION=${VERSION:-1.16}
+VERSION=${VERSION:-1.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -45,16 +45,12 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
fi
# Actual name of the program:
@@ -86,6 +82,9 @@ make clean
# It'd be nice if I could pass my own CFLAGS without editing the Makefile...
sed -i "s,-O2,$SLKCFLAGS," Makefile
+# 20240210 bkw: fix a typo in the man page.
+sed -i 's,emdianness,endianness,' $EXE.adoc
+
# 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.