mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/reptyr: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
parent
b2efd65c0f
commit
1184ee1cf2
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue