summaryrefslogtreecommitdiffstats
path: root/lib/libedit
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-08-30 01:50:07 +0000
committerpeter <peter@FreeBSD.org>1996-08-30 01:50:07 +0000
commit14cbe8c56977fddf69e1396d9e3c462d9d4b4d11 (patch)
treec639130fc7b078a92df1a96ad7a1cf49af7d24e4 /lib/libedit
parent9dc2afe10f1f15287cc50c02d5236ab8491e14a0 (diff)
downloadFreeBSD-src-14cbe8c56977fddf69e1396d9e3c462d9d4b4d11.zip
FreeBSD-src-14cbe8c56977fddf69e1396d9e3c462d9d4b4d11.tar.gz
Add missing DPADD, remove duplicate -ltermcap
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index 8863e80..5284c21 100644
--- a/lib/libedit/Makefile
+++ b/lib/libedit/Makefile
@@ -7,6 +7,7 @@ OSRCS= chared.c common.c el.c emacs.c hist.c key.c map.c parse.c \
help.c fcns.c help.h
LDADD+= -ltermcap
+DPADD+= ${LIBTERMCAP}
# For speed and debugging
#SRCS= ${OSRCS} tokenizer.c history.c
@@ -49,6 +50,6 @@ editline.c: ${OSRCS}
test: test.o libedit.a ${DPADD} ${LIBTERMCAP}
- ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD} -ltermcap
+ ${CC} ${CFLAGS} ${.ALLSRC} -o ${.TARGET} libedit.a ${LDADD}
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud