From 939291fdd2c328581bdc9591bf358626356e4472 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 27 Jan 2014 11:50:19 +0100 Subject: games/quakeforge: Fix building on i486 ARCH. Signed-off-by: Matteo Bernardini --- games/quakeforge/quakeforge.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'games/quakeforge') 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 -- cgit v1.2.3