mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
development/pforth: Force using -j1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c535c7fc59
commit
7737e2522b
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue