summaryrefslogtreecommitdiff
path: root/usr.bin/vi/build
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-06-02 05:54:39 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-06-02 05:54:39 +0000
commit64648b6604c28f2e7f4d9152043c0efd148474d6 (patch)
treeed2e5c039efde87e1703e750926b58662fc6a740 /usr.bin/vi/build
parent7e2fc8ed2758bd15f0698407d69eb61815a7a892 (diff)
Always use -ltermlib when linking with -lcurses
Be consistent in use of LIBTERMCAP and LIBTERMLIB when depending
Diffstat (limited to 'usr.bin/vi/build')
-rw-r--r--usr.bin/vi/build/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vi/build/Makefile b/usr.bin/vi/build/Makefile
index 0087d045fe0..2253b637980 100644
--- a/usr.bin/vi/build/Makefile
+++ b/usr.bin/vi/build/Makefile
@@ -4,7 +4,8 @@
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../include
-LDADD+= -lcurses -ltermcap
+LDADD+= -lcurses -ltermlib
+DPADD+= ${LIBCURSES} ${LIBTERMLIB}
PROG= vi
SRCS= cl_bsd.c cl_funcs.c cl_main.c cl_read.c cl_screen.c cl_term.c \
cut.c delete.c ex.c ex_abbrev.c ex_append.c ex_args.c ex_argv.c \