development/pforth: Force using -j1

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2013-11-16 07:37:49 +07:00
parent c535c7fc59
commit 7737e2522b

View file

@ -6,7 +6,7 @@
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=pforth
VERSION=v27
VERSION=${VERSION:-v27}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@ -48,11 +48,11 @@ rm -rf ${PRGNAM}_$VERSION __MACOSX
unzip "$CWD/${PRGNAM}_${SRCVERSION}.zip"
cd ${PRGNAM}_${VERSION}/build/unix
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -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 {} \;
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 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# pforth.dic into "share"
sed -i "s/pforth.dic/\/usr\/share\/pforth\/${VERSION}\/pforth.dic/g" ../../csrc/pf_main.c
@ -61,7 +61,7 @@ patch -p0 < $CWD/pforth-build.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make all DESTDIR=$PKG
make all DESTDIR=$PKG -j1
find $PKG/usr/bin | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true