system/reptyr: Fix build for -current.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2017-06-21 01:20:23 -04:00 committed by Willy Sudiarto Raharjo
parent b2efd65c0f
commit 1184ee1cf2

View file

@ -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