aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-01-27 11:50:19 +0100
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:20:28 -0600
commit939291fdd2c328581bdc9591bf358626356e4472 (patch)
tree1a7d55fae6cc712f0dec0a2354c29ab8fb597e10
parent87d01ec594e00612a2ab40f305e43f6d6b49922b (diff)
games/quakeforge: Fix building on i486 ARCH.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--games/quakeforge/quakeforge.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/quakeforge/quakeforge.SlackBuild b/games/quakeforge/quakeforge.SlackBuild
index de7693462d9d..f87d79f98bde 100644
--- a/games/quakeforge/quakeforge.SlackBuild
+++ b/games/quakeforge/quakeforge.SlackBuild
@@ -4,7 +4,7 @@
PRGNAM=quakeforge
VERSION=0.7.0
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -34,6 +34,9 @@ else
LIBDIRSUFFIX=""
fi
+# Building with svga support break stuff on 32bit x86
+SVGA="" ; [ "$ARCH" = "i486" ] && SVGA="--without-svga"
+
set -e
rm -rf $PKG
@@ -50,7 +53,7 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
@@ -63,6 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ $SVGA \
--build=$ARCH-slackware-linux
# Parallel builds are broken