aboutsummaryrefslogtreecommitdiff
path: root/games/nlarn
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-06-23 09:09:43 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:45:02 -0500
commit7c250eeb05fb011b78c024af9316c7fae58eb83f (patch)
tree214ba10e184191e3a966a82f924618efdc2c50ad /games/nlarn
parentfb3dcefd142054d463fa1779d09446218829ba11 (diff)
games/nlarn: Set our CFLAGS, disable -Werror, use ncurses6-config.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/nlarn')
-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 d18251164767c..fef6664c4e3c6 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 \