summaryrefslogtreecommitdiffstats
path: root/games/nlarn/nlarn.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2018-06-21 09:40:51 +0200
committer Matteo Bernardini2018-06-21 09:40:51 +0200
commit8821744f554fb560fcc3e2dc1474f192e31cfc29 (patch)
tree7071c186d620c2497d1a1be31909c687e0f10c9c /games/nlarn/nlarn.SlackBuild
parent7bb64680a36d15a91c1f4c21fe08c08c15bd7474 (diff)
downloadslackbuilds-d9244460bb62759b7c23280f793f4265a38638aa.tar.gz
20180621.1 global branch merge.current-20180621.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/nlarn/nlarn.SlackBuild')
-rw-r--r--games/nlarn/nlarn.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/nlarn/nlarn.SlackBuild b/games/nlarn/nlarn.SlackBuild
index d182511647..fef6664c4e 100644
--- a/games/nlarn/nlarn.SlackBuild
+++ b/games/nlarn/nlarn.SlackBuild
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# set our CFLAGS, disable -Werror and use ncurses6-config
+sed -i -e "s|-Werror ||" -e "s|-O2|$SLKCFLAGS|" -e "s|ncurses5|ncurses6|" Makefile
+
make
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \