Date: Sun, 10 Feb 2013 14:20:12 -0500 From: "John W. O'Brien" <john@saltant.com> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: Alberto Villa <avilla@freebsd.org>, Armin Pirkovitsch <sperber@freebsd.org>, freebsd-ports@freebsd.org, lists@eitanadler.com Subject: Re: [CFT+BRAINSTORM] One USE_ to rule them all Message-ID: <5117F2EC.3090604@saltant.com> In-Reply-To: <20130207095201.GA26686@ithaqua.etoilebsd.net> References: <20130204181946.GF67687@ithaqua.etoilebsd.net> <CAF6rxgkigsEw39hyKssS-hOz_CbNNjD%2BQJw78aNaNHkzDsyq7A@mail.gmail.com> <51133C86.80303@FreeBSD.org> <2080279.Qt6CT3Qcxh@indiana.smith> <20130207095201.GA26686@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/07/2013 04:52 AM, Baptiste Daroussin wrote: > > Let's go for USES then! > > regards, > Bapt Clearly I'm a bit late to the party here, and I don't wish to reopen litigation of this particular design choice. However, I would like to respectfully suggest that, in addition to the grep-ability of a keyword, it is useful to inform selection on the basis of whether it is to be used in a declarative or imperative sense. The on-its-way-out USE_BLAH is imperative, whereas USES has a declarative flavor. In cases where the purpose is to tell the ports machinery to *do* something, I favor the imperative where it can be applied naturally. The declarative---statements of fact---are dandy for things like CONFLICTS, HAS_CONFIGURE, and PORTNAME. Consider this notional capability, BLAH, that is available from ports or even base, but which some ports bring with them (think libz or the client library for some protocol). If port X has its own BLAH, then USES=BLAH is a true statement but an erroneous usage in the context of port X. This is why USE would be better. In any case, thank you for embarking on this valuable consolidation. Cheers, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJRF/LsAAoJEEdKvTwaez9w7/UH/jsInJF7A99LbFwPFxIlNwV1 hGDN7kZATxs55wfbk8q+EndQkXuwcQebOVQUO5GT+xOCvj8GLR9odEtDff21vjnc RnfpTzDXI+ynL/oX/rmibqTkUdb7Srd9iXhpxD4dAudIkmNA2XA6LInOhRdEcUq3 d/7n84ZppE22ia+tpfIFqGnDpwO4bPB3l/1gwy8MqQhXwodwHQiREHkevWmlA8S+ xdqpVm2byOXF+nlSmf/k8N1SOVWc9VErEaine9wM9+Cz7StuTRENiWe3gDyh3GMp L/292a1roKZM/bM5GhsJSB2Vl22V7dk+q8+szTxjOQr4uWa4mhiJ3DexO04PdsU= =SBg1 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5117F2EC.3090604>