aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-21 01:20:23 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:32:49 +0700
commit1184ee1cf2e4bba412e67bb841068f30d827b945 (patch)
tree12b2a5b5a5ea9eb419d046f3de5a06b5b1112914
parentb2efd65c0f8ba701718b8827b881f8d2da158e52 (diff)
system/reptyr: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--system/reptyr/reptyr.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/reptyr/reptyr.SlackBuild b/system/reptyr/reptyr.SlackBuild
index 908b5bf67f301..f2825c71f6cdd 100644
--- a/system/reptyr/reptyr.SlackBuild
+++ b/system/reptyr/reptyr.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170621 bkw: get rid of -Werror (-current needs this)
# 20170302 bkw: use long-format github URL
# 20150505 bkw: updated for v0.6.2
@@ -52,7 +53,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sed -i 's,share/man,man,g' Makefile
+sed -i \
+ -e 's,share/man,man,g' \
+ -e 's,-Werror,,' \
+ Makefile
make PREFIX=/usr CFLAGS="$SLKCFLAGS"
strip $PRGNAM
make install PREFIX=/usr DESTDIR=$PKG