summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-07-27 18:28:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-07-27 18:28:21 +0000
commit7e7303a2e541a15932fb37d54dd97b3538aed77d (patch)
tree8f7832762d7790bd40d2ed1d20b5516023e9d401 /libexec
parentc1430bff061b29a2033dedf671e589f9c03a1504 (diff)
use old curses to avoid duplicate symbol in libtelnet
Diffstat (limited to 'libexec')
-rw-r--r--libexec/telnetd/Makefile7
-rw-r--r--libexec/telnetd/telnetd.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index ee23868442d..7afdc6dee3d 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 1998/07/24 00:10:50 millert Exp $
+# $OpenBSD: Makefile,v 1.7 1998/07/27 18:28:18 millert Exp $
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $NetBSD: Makefile,v 1.6 1996/02/24 01:22:12 jtk Exp $
@@ -6,10 +6,11 @@ PROG= telnetd
CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
CFLAGS+=-DOLD_ENVIRON -DENV_HACK -I${.CURDIR} -Wall -Wno-unused
+CFLAGS+=-D_USE_OLD_CURSES_
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
-DPADD= ${LIBUTIL} ${LIBTERM} ${LIBTELNET}
-LDADD+= -lutil -lcurses -ltelnet
+DPADD= ${LIBUTIL} ${LIBOLDCURSES} ${LIBTELNET}
+LDADD+= -lutil -locurses -ltelnet
MAN= telnetd.8
.include <bsd.own.mk> # for KERBEROS
diff --git a/libexec/telnetd/telnetd.c b/libexec/telnetd/telnetd.c
index 455c5300b9b..9f0e6f07548 100644
--- a/libexec/telnetd/telnetd.c
+++ b/libexec/telnetd/telnetd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: telnetd.c,v 1.13 1998/07/23 17:55:54 deraadt Exp $ */
+/* $OpenBSD: telnetd.c,v 1.14 1998/07/27 18:28:20 millert Exp $ */
/* $NetBSD: telnetd.c,v 1.6 1996/03/20 04:25:57 tls Exp $ */
/*
@@ -45,11 +45,11 @@ static char copyright[] =
static char sccsid[] = "@(#)telnetd.c 8.4 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: telnetd.c,v 1.5 1996/02/28 20:38:23 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: telnetd.c,v 1.13 1998/07/23 17:55:54 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: telnetd.c,v 1.14 1998/07/27 18:28:20 millert Exp $";
#endif
#endif /* not lint */
-#include <term.h>
+#include "curses.h"
#include "telnetd.h"
#include "pathnames.h"