summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-07-27 15:25:13 +0000
committermillert <millert@openbsd.org>1998-07-27 15:25:13 +0000
commit60af54e577547755e8c0d2a33d3a0b39bc1b457a (patch)
tree9e77f700b25f1a82daf01e287b5c21c3d35cd3d2
parentUse -D_USE_OLD_CURSES_ so we don't need to include ocurses.h explicately (diff)
downloadwireguard-openbsd-60af54e577547755e8c0d2a33d3a0b39bc1b457a.tar.xz
wireguard-openbsd-60af54e577547755e8c0d2a33d3a0b39bc1b457a.zip
use ocurses since libtelnet has a getstr() function that conflicts with ncurses
-rw-r--r--usr.bin/telnet/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/telnet/Makefile b/usr.bin/telnet/Makefile
index 229a71b1240..915b064950e 100644
--- a/usr.bin/telnet/Makefile
+++ b/usr.bin/telnet/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 1998/07/24 00:11:01 millert Exp $
+# $OpenBSD: Makefile,v 1.8 1998/07/27 15:25:13 millert Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -37,10 +37,10 @@
PROG= telnet
CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO -DSKEY -Dunix
-CFLAGS+=-DENV_HACK
+CFLAGS+=-DENV_HACK -D_USE_OLD_CURSES_
CFLAGS+=-I${.CURDIR}/../../lib
-LDADD+= -lcurses -ltelnet
-DPADD= ${LIBCURSES} ${LIBTELNET}
+LDADD+= -locurses -ltelnet
+DPADD= ${LIBOLDCURSES} ${LIBTELNET}
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
terminal.c tn3270.c utilities.c