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.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/quakeforge/quakeforge.SlackBuild b/games/quakeforge/quakeforge.SlackBuild
index 12985e91b6..de7693462d 100644
--- a/games/quakeforge/quakeforge.SlackBuild
+++ b/games/quakeforge/quakeforge.SlackBuild
@@ -49,10 +49,10 @@ tar xvf $CWD/io_mesh_qfmdl-${VERSION}a.tar.bz2 -C $PRGNAM-$VERSION/tools/
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -67,7 +67,7 @@ CXXFLAGS="$SLKCFLAGS" \
# Parallel builds are broken
make -j1
-make install DESTDIR=$PKG
+make -j1 install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true