summaryrefslogtreecommitdiff
path: root/system/isomd5sum/isomd5sum.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-17 07:25:49 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-16 23:05:41 -0500
commit59e8bac381504a9520e8ade5e6bd154f8d6f6f95 (patch)
tree0ea4169cb396cf75d0f689e8f4210ca6b1e3db2f /system/isomd5sum/isomd5sum.SlackBuild
parent8992106c13ac4b26b068aaa23adb3bfcb6608265 (diff)
downloadslackbuilds-59e8bac381504a9520e8ade5e6bd154f8d6f6f95.tar.gz
system/isomd5sum: Fixed build (no -Werror to gcc)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/isomd5sum/isomd5sum.SlackBuild')
-rw-r--r--system/isomd5sum/isomd5sum.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/isomd5sum/isomd5sum.SlackBuild b/system/isomd5sum/isomd5sum.SlackBuild
index 6cdd123d53..e6e234ea08 100644
--- a/system/isomd5sum/isomd5sum.SlackBuild
+++ b/system/isomd5sum/isomd5sum.SlackBuild
@@ -3,10 +3,11 @@
# Slackware build script for isomd5sum
# Written by B. Watson (yalhcru@gmail.com)
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=isomd5sum
VERSION=${VERSION:-1.0.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,6 +54,7 @@ find . \
patch -p1 < $CWD/fix_makefile.diff
sed -i 's,/usr/share/man,/usr/man,' Makefile
+sed -i -e 's/-Werror/ /' Makefile
make RPM_OPT_FLAGS="$SLKCFLAGS"
make install DESTDIR=$PKG