diff --git a/bin/ls/Makefile b/bin/ls/Makefile index 2af1203b1d38..4d02a7ec94ac 100644 --- a/bin/ls/Makefile +++ b/bin/ls/Makefile @@ -1,12 +1,15 @@ # @(#)Makefile 8.1 (Berkeley) 6/2/93 # $FreeBSD$ +.include + PROG= ls SRCS= cmp.c ls.c print.c util.c DPADD= ${LIBUTIL} LDADD= -lutil -.if !defined(RELEASE_CRUNCH) +.if !defined(RELEASE_CRUNCH) && \ + ${MK_LS_COLORS} != no CFLAGS+= -DCOLORLS DPADD+= ${LIBTERMCAP} LDADD+= -ltermcap diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 2da997bcd14f..924e9ceb57eb 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -367,6 +367,7 @@ __DEFAULT_YES_OPTIONS = \ LOCALES \ LOCATE \ LPR \ + LS_COLORS \ MAIL \ MAILWRAPPER \ MAKE \