Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2012 18:23:53 +0000
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r235655 - in head: bin/ls share/mk
Message-ID:  <BFCF9FD5-8089-4CC6-9F89-0222DF754E43@FreeBSD.org>
In-Reply-To: <201205191805.q4JI513M037128@svn.freebsd.org>
References:  <201205191805.q4JI513M037128@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 19. May 2012, at 18:05 , Marcel Moolenaar wrote:

> Author: marcel
> Date: Sat May 19 18:05:00 2012
> New Revision: 235655
> URL: http://svn.freebsd.org/changeset/base/235655
>=20
> Log:
>  Add build opton MK_LS_COLORS to control whether ls(1) supports colors
>  (and thus needs to depend on libtermcap). Embedded systems may not
>  want or need colors.

This once again is missing documentation.

Please also understand that each src.conf option DOES come with a cost =
and if
you plan to bring another 20 I'd love to have discussion upfront.  =
Thanks.


>  Obtained from:	Juniper Networks, Inc.
>=20
> Modified:
>  head/bin/ls/Makefile
>  head/share/mk/bsd.own.mk
>=20
> Modified: head/bin/ls/Makefile
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/bin/ls/Makefile	Sat May 19 17:55:49 2012	=
(r235654)
> +++ head/bin/ls/Makefile	Sat May 19 18:05:00 2012	=
(r235655)
> @@ -1,12 +1,15 @@
> #	@(#)Makefile	8.1 (Berkeley) 6/2/93
> # $FreeBSD$
>=20
> +.include <bsd.own.mk>
> +
> PROG=3D	ls
> SRCS=3D	cmp.c ls.c print.c util.c
> DPADD=3D	${LIBUTIL}
> LDADD=3D	-lutil
>=20
> -.if !defined(RELEASE_CRUNCH)
> +.if !defined(RELEASE_CRUNCH) && \
> +	${MK_LS_COLORS} !=3D no
> CFLAGS+=3D -DCOLORLS
> DPADD+=3D	${LIBTERMCAP}
> LDADD+=3D	-ltermcap
>=20
> Modified: head/share/mk/bsd.own.mk
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/share/mk/bsd.own.mk	Sat May 19 17:55:49 2012	=
(r235654)
> +++ head/share/mk/bsd.own.mk	Sat May 19 18:05:00 2012	=
(r235655)
> @@ -367,6 +367,7 @@ __DEFAULT_YES_OPTIONS =3D \
>     LOCALES \
>     LOCATE \
>     LPR \
> +    LS_COLORS \
>     MAIL \
>     MAILWRAPPER \
>     MAKE \

--=20
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFCF9FD5-8089-4CC6-9F89-0222DF754E43>