summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Watson <yalhcru@gmail.com>2013-12-30 09:08:48 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:59 -0600
commitb0862767698b5c8aad335fc70b436c5114a5ef45 (patch)
treeebf7aa7ebc78109f6a0b22cefda6e2bb79abca65
parent363d7e8cc230401221b148cabacfbd5ff7857970 (diff)
downloadslackbuilds-b0862767698b5c8aad335fc70b436c5114a5ef45.tar.gz
games/quakeforge: Force -j1 in make install.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-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