summaryrefslogtreecommitdiff
path: root/development/pforth
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-16 07:37:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-16 07:37:49 +0700
commit7737e2522bedec243f70e178dbca419d85153eda (patch)
treeec97d28214a15fb8bd50dd810957359ae59fa4a8 /development/pforth
parentc535c7fc5977d0f98bced42b3e5ae12e27237b43 (diff)
downloadslackbuilds-7737e2522bedec243f70e178dbca419d85153eda.tar.gz
development/pforth: Force using -j1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/pforth')
-rw-r--r--development/pforth/pforth.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/development/pforth/pforth.SlackBuild b/development/pforth/pforth.SlackBuild
index 4a58e68292..b2fda7c124 100644
--- a/development/pforth/pforth.SlackBuild
+++ b/development/pforth/pforth.SlackBuild
@@ -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