summaryrefslogtreecommitdiffstats
path: root/bin/ls
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ls')
-rw-r--r--bin/ls/Makefile4
-rw-r--r--bin/ls/Makefile.depend1
2 files changed, 2 insertions, 3 deletions
diff --git a/bin/ls/Makefile b/bin/ls/Makefile
index 7149d91..dce2046 100644
--- a/bin/ls/Makefile
+++ b/bin/ls/Makefile
@@ -11,8 +11,8 @@ LDADD= -lutil
.if !defined(RELEASE_CRUNCH) && \
${MK_LS_COLORS} != no
CFLAGS+= -DCOLORLS
-DPADD+= ${LIBTERMCAP}
-LDADD+= -ltermcap
+DPADD+= ${LIBTERMCAPW}
+LDADD+= -ltermcapw
.endif
.include <bsd.prog.mk>
diff --git a/bin/ls/Makefile.depend b/bin/ls/Makefile.depend
index fa30ba5..549c3a2 100644
--- a/bin/ls/Makefile.depend
+++ b/bin/ls/Makefile.depend
@@ -11,7 +11,6 @@ DIRDEPS = \
lib/libc \
lib/libcompiler_rt \
lib/libutil \
- lib/ncurses/ncurses \
lib/ncurses/ncursesw \
OpenPOWER on IntegriCloud