summaryrefslogtreecommitdiff
path: root/games/0ad/0ad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/0ad/0ad.SlackBuild')
-rw-r--r--games/0ad/0ad.SlackBuild6
1 files changed, 4 insertions, 2 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