Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2013 09:54:59 +0100
From:      Alberto Villa <avilla@freebsd.org>
To:        freebsd-ports@freebsd.org
Cc:        Armin Pirkovitsch <sperber@freebsd.org>, lists@eitanadler.com
Subject:   Re: [CFT+BRAINSTORM] One USE_ to rule them all
Message-ID:  <2080279.Qt6CT3Qcxh@indiana.smith>
In-Reply-To: <51133C86.80303@FreeBSD.org>
References:  <20130204181946.GF67687@ithaqua.etoilebsd.net> <CAF6rxgkigsEw39hyKssS-hOz_CbNNjD%2BQJw78aNaNHkzDsyq7A@mail.gmail.com> <51133C86.80303@FreeBSD.org>

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

--nextPart2282602.fpO6UkVRoe
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

On Thursday 07 February 2013 06:32:54 Armin Pirkovitsch wrote:
> # find /usr/ports -name Makefile | xargs grep -R FEATURES | wc -l
>       82
> # find /usr/ports -name Makefile | xargs grep -R USES | wc -l
>       20
> 
> Sounds to me like there are less false positives for USES.

Add -w and USES wins:
$ find /usr/ports -name Makefile | xargs grep -Rw FEATURES | wc -l
      37
$ find /usr/ports -name Makefile | xargs grep -Rw USES | wc -l
       0
-- 
Alberto Villa, FreeBSD committer <avilla@FreeBSD.org>
http://people.FreeBSD.org/~avilla

	"Hawk, we're going to die."
	"Never say die... and certainly never say we."
		-- M*A*S*H

--nextPart2282602.fpO6UkVRoe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iJwEAAECAAYFAlETa+UACgkQ3xiC6kQ1Cou9fAP6A77WDdiSiZjnFTOK8039s3xn
7I+2r9AV4TNFvqNJHZNYPMYsMYiv2py0+8yLxdIs+IY/NsIjxu+SFFpt6bTDEDVf
e1/NN2dW/0pgqB49Zvme5YsMKBPDh/v/E8GlrQo2110K4nDXN7jdr/vk/55PZ7lK
5da1E6zMStbLmp5WUOY=
=UCyK
-----END PGP SIGNATURE-----

--nextPart2282602.fpO6UkVRoe--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2080279.Qt6CT3Qcxh>