aboutsummaryrefslogtreecommitdiff
path: root/system/reptyr/reptyr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/reptyr/reptyr.SlackBuild')
-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