--- Makefile.orig	Tue Feb 20 12:27:21 2001
+++ Makefile	Wed Sep  4 20:46:58 2002
@@ -30,14 +30,15 @@
 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 WARNS=	2
+NO_WERROR=1
 
 PROG=	tits
-MAN=	tits.8
+MAN8=	tits.8
 
 SRCS=	main.c buffer.c client.c context.c listener.c telnet.c tty.c
 SRCS+=	dispatcher.c setup.c config.c server.c logger.c
 
-CPPFLAGS+= -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"${LOCALBASE}/etc/tits.conf\"
+CFLAGS+= -DLIBWRAP -DTITS_DEFAULT_CONFIG_FILE=\"${LOCALBASE}/etc/tits.conf\"
 LDADD+=	-lwrap
 PREFIX?= /usr/local
 BINDIR?= ${PREFIX}/sbin
