aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/lib/libreadline/readline/Makefile4
-rw-r--r--lib/libedit/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/lib/libreadline/readline/Makefile b/gnu/lib/libreadline/readline/Makefile
index d9148c21cf0d..915930234496 100644
--- a/gnu/lib/libreadline/readline/Makefile
+++ b/gnu/lib/libreadline/readline/Makefile
@@ -14,8 +14,8 @@ SRCS= readline.c vi_mode.c funmap.c keymaps.c parens.c search.c \
INSTALLED_HEADERS= readline.h chardefs.h keymaps.h history.h tilde.h \
rlstdc.h rlconf.h rltypedefs.h
-DPADD+= $(LIBTERMCAP)
-LDADD+= -ltermcap
+DPADD= ${LIBNCURSES}
+LDADD= -lncurses
INCDIR= /usr/include/readline
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index 833f60e50d69..0333e80bcfa0 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -9,8 +9,8 @@ SHLIB_MINOR= 0
OSRCS= chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \
parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c
-DPADD= ${LIBTERMCAP}
-LDADD= -ltermcap
+DPADD= ${LIBNCURSES}
+LDADD= -lncurses
MAN= editline.3 editrc.5