summaryrefslogtreecommitdiff
path: root/system/macutils/macutils.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-07-26 17:58:15 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:55 +0700
commita3210467446b75319b24614c151463e1502c4933 (patch)
tree6c5785399cb7e0505343a0df218412494494c2e5 /system/macutils/macutils.SlackBuild
parent034c6e232cf5aa48a2589358d5e74ce0022cc297 (diff)
downloadslackbuilds-a3210467446b75319b24614c151463e1502c4933.tar.gz
system/macutils: Fix compiler warnings.
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