aboutsummaryrefslogtreecommitdiff
path: root/lib/libedit/Makefile
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-08-30 01:50:07 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-08-30 01:50:07 +0000
commitb7e5f46aed2b89f78ac667160815f0109b457782 (patch)
treec639130fc7b078a92df1a96ad7a1cf49af7d24e4 /lib/libedit/Makefile
parent1d4b71eaa37a9d2f64c33bee7e18fa488de69de1 (diff)
downloadsrc-b7e5f46aed2b89f78ac667160815f0109b457782.tar.gz
src-b7e5f46aed2b89f78ac667160815f0109b457782.zip
Add missing DPADD, remove duplicate -ltermcap
Notes
Notes: svn path=/head/; revision=17929
Diffstat (limited to 'lib/libedit/Makefile')
-rw-r--r--lib/libedit/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile
index 8863e80a1b97..5284c2135ce6 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>