summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/0ad/0ad.SlackBuild6
-rw-r--r--games/0ad/README3
2 files changed, 5 insertions, 4 deletions
diff --git a/games/0ad/0ad.SlackBuild b/games/0ad/0ad.SlackBuild
index 533b79f656..514f61c116 100644
--- a/games/0ad/0ad.SlackBuild
+++ b/games/0ad/0ad.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=0ad
VERSION=${VERSION:-0.0.23b}
RELEASE=${RELEASE:-alpha}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -57,7 +57,7 @@ else
LIBDIRSUFFIX=""
fi
-set -eu
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -81,6 +81,8 @@ export LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}"
# Fix boost names
sed -i 's/-mt//g' build/premake/extern_libs4.lua
+#allow for ATLAS to be yes.
+[ "x$ATLAS" = "xyes" ]&& ATLAS="enable"
# build/workspaces/update-workspaces.sh
# have a root check, let's disable it.
patch -p1 < $CWD/disable-root-check.patch
diff --git a/games/0ad/README b/games/0ad/README
index a88264f9aa..43f9ef54df 100644
--- a/games/0ad/README
+++ b/games/0ad/README
@@ -1,6 +1,5 @@
0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform
real-time strategy (RTS) game of ancient warfare.
-To include the Atlas editor, which requires wxGTK3 as wxPython is too
-old:
+To include the Atlas editor, which requires wxPython3
ATLAS=enable ./0ad.SlackBuild