summaryrefslogtreecommitdiff
path: root/system/macutils/macutils.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/macutils/macutils.SlackBuild')
-rw-r--r--system/macutils/macutils.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/macutils/macutils.SlackBuild b/system/macutils/macutils.SlackBuild
index 54eb03bd57..6d956b9307 100644
--- a/system/macutils/macutils.SlackBuild
+++ b/system/macutils/macutils.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=macutils
VERSION=${VERSION:-2.0b3_16}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,10 +58,13 @@ for patch in $( cat debian/patches/series ); do
patch -p1 < debian/patches/$patch
done
+# Fix some compile warnings.
+patch -p1 < $CWD/fixwarnings.diff
+
sed -i 's/^\(CF *= *\)/\1 $(SLKCFLAGS)/' makefile
-make SLKCFLAGS="$SLKCFLAGS"
+make -j1 SLKCFLAGS="$SLKCFLAGS"
mkdir -p $PKG/usr/bin
-make install BINDIR=$PKG/usr/bin
+make -j1 install BINDIR=$PKG/usr/bin
strip $PKG/usr/bin/*
mkdir -p $PKG/usr/man/man1
install -m0644 man/* $PKG/usr/man/man1