summaryrefslogtreecommitdiff
path: root/gnu/lib/libreadline/Makefile
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2019-01-15 01:54:01 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2019-01-15 01:54:01 +0000
commit0a1dbaab65cf546b7cb85fbb6980b9392da263d9 (patch)
treef7f2c5ef45296e7d6b2cc99b3a24e8b111d2403b /gnu/lib/libreadline/Makefile
parentdd180592a9149c30f45d9d1c4c863877a1864215 (diff)
Fix the inter-library dependency for libedit and libreadline.
Previously they tried to depend on libtermcap which actually doesn't exist in the objdir. ok jca
Diffstat (limited to 'gnu/lib/libreadline/Makefile')
-rw-r--r--gnu/lib/libreadline/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/libreadline/Makefile b/gnu/lib/libreadline/Makefile
index d9604069c5b..70f1fd9a648 100644
--- a/gnu/lib/libreadline/Makefile
+++ b/gnu/lib/libreadline/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2018/11/14 20:43:48 sthen Exp $
+# $OpenBSD: Makefile,v 1.9 2019/01/15 01:54:00 yasuoka Exp $
LIB= readline
SRCS= readline.c funmap.c keymaps.c vi_mode.c parens.c rltty.c complete.c \
@@ -10,8 +10,8 @@ HDRS= readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h \
rltypedefs.h
SUBDIR= doc
CPPFLAGS+=-DHAVE_CONFIG_H -I${.CURDIR}
-LDADD+= -L${BSDOBJDIR}/lib/libcurses -ltermcap
-DPADD+= ${LIBTERMCAP}
+LDADD+= -L${BSDOBJDIR}/lib/libcurses -lcurses
+DPADD+= ${LIBCURSES}
includes:
${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 \