From owner-freebsd-ports@FreeBSD.ORG Mon Feb 11 04:46:19 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 597D6C9D; Mon, 11 Feb 2013 04:46:19 +0000 (UTC) (envelope-from john@saltant.com) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 95AD26E2; Mon, 11 Feb 2013 04:46:18 +0000 (UTC) Received: from homiemail-a89.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by hapkido.dreamhost.com (Postfix) with ESMTP id 3495E389DC; Sun, 10 Feb 2013 11:20:20 -0800 (PST) Received: from homiemail-a89.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTP id D4B1A31805C; Sun, 10 Feb 2013 11:20:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=saltant.com; bh=YnBry 1kTf5BWS+q50RFaEPYCPfI=; b=Q70e7QtvMOz3o2EvNdNc2LOTIBNwM+bRDmm1T TQ3xhM9uMQr0hh78mmQAO8b7lhGlwnw2rb8hWoc13ynDET2fanZy34HSBec9Gc9E LLYcrKigzgR/vWxuVmpb4RSh1Yk2zk5SZfgM68bAtR2JpmGDfVvP09MSqwNrm9yu UuCWrw= Received: from imago.y.saltant.net (vice.saltant.net [96.227.187.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: john@saltant.com) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTPSA id 3BDE6318059; Sun, 10 Feb 2013 11:20:13 -0800 (PST) Message-ID: <5117F2EC.3090604@saltant.com> Date: Sun, 10 Feb 2013 14:20:12 -0500 From: "John W. O'Brien" Organization: Saltant Solutions User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: Baptiste Daroussin Subject: Re: [CFT+BRAINSTORM] One USE_ to rule them all References: <20130204181946.GF67687@ithaqua.etoilebsd.net> <51133C86.80303@FreeBSD.org> <2080279.Qt6CT3Qcxh@indiana.smith> <20130207095201.GA26686@ithaqua.etoilebsd.net> In-Reply-To: <20130207095201.GA26686@ithaqua.etoilebsd.net> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alberto Villa , Armin Pirkovitsch , freebsd-ports@freebsd.org, lists@eitanadler.com X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 04:46:19 -0000 -----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-----