summaryrefslogtreecommitdiff
path: root/games/quakeforge/quakeforge.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/quakeforge/quakeforge.SlackBuild')
-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 de7693462d..f87d79f98b 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