diff options
author | B. Watson <yalhcru@gmail.com> | 2016-07-26 17:58:15 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | a3210467446b75319b24614c151463e1502c4933 (patch) | |
tree | 6c5785399cb7e0505343a0df218412494494c2e5 /system/macutils/macutils.SlackBuild | |
parent | 034c6e232cf5aa48a2589358d5e74ce0022cc297 (diff) | |
download | slackbuilds-a3210467446b75319b24614c151463e1502c4933.tar.gz |
system/macutils: Fix compiler warnings.
Diffstat (limited to 'system/macutils/macutils.SlackBuild')
-rw-r--r-- | system/macutils/macutils.SlackBuild | 9 |
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 |