Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/warp no need for -lcompat



details:   https://anonhg.NetBSD.org/src/rev/8351cbfa05f7
branches:  trunk
changeset: 956948:8351cbfa05f7
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 11 19:54:53 2020 +0000

description:
no need for -lcompat

diffstat:

 games/warp/Makefile |  20 ++++----------------
 1 files changed, 4 insertions(+), 16 deletions(-)

diffs (47 lines):

diff -r 98c84baa276c -r 8351cbfa05f7 games/warp/Makefile
--- a/games/warp/Makefile       Wed Nov 11 18:08:34 2020 +0000
+++ b/games/warp/Makefile       Wed Nov 11 19:54:53 2020 +0000
@@ -1,14 +1,15 @@
-#      $NetBSD: Makefile,v 1.3 2020/11/11 17:11:19 christos Exp $
+#      $NetBSD: Makefile,v 1.4 2020/11/11 19:54:53 christos Exp $
 
 .include <bsd.own.mk>
 
 PROG=  warp
+DBG=-g
 
 SRCS=  bang.c init.c intrp.c move.c object.c play.c score.c sig.c term.c \
        them.c us.c util.c version.c warp.c weapon.c
 
-DPADD= ${LIBTERMLIB} ${LIBM} ${LIBCOMPAT}
-LDADD= -ltermlib -lm -lcompat
+DPADD= ${LIBTERMLIB} ${LIBM}
+LDADD= -ltermlib -lm
 
 CPPFLAGS+=-DHAVETERMLIB
 
@@ -18,9 +19,6 @@
 SETGIDGAME=yes
 MAN=   warp.6
 
-BINGRP= games
-BINMODE=2555
-
 warp.6:
        ${_MKTARGET_CREATE}
        cat ${.CURDIR}/warp.man > ${.TARGET}
@@ -69,14 +67,4 @@
 FILESDIR=/usr/share/games/warp
 .endif
 
-CFLAGS+= -Wno-error=old-style-definition -Wno-error=strict-prototypes
-CFLAGS+= -Wno-error=comment -Wno-error=maybe-uninitialized
-CFLAGS+= -Wno-error=discarded-qualifiers -Wno-error=dangling-else
-CFLAGS+= -Wno-error=char-subscripts -Wno-error=parentheses
-CFLAGS+= -Wno-error=unused-value -Wno-error=format-extra-args
-CFLAGS+= -Wno-error=format-overflow= -Wno-error=builtin-declaration-mismatch
-CFLAGS+= -Wno-error=format= -Wno-error=sign-compare -Wno-error=return-type
-CFLAGS+= -Wno-error=unused-label -Wno-error=unused-variable
-CFLAGS+= -Wno-error=format-nonliteral -Wno-error=implicit-fallthrough=
-
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index