Re: git: 60817c50b4c8 - main - Mk/Uses: Add certs.mk to handle dependency on security/ca_root_nss

From: Yuri <yuri_at_FreeBSD.org>
Date: Tue, 10 Mar 2026 07:40:48 UTC
On 3/9/26 12:14, Mathieu Arnold wrote:
> USES handles simple dependencies tied to the presence or absence of a 
> base system feature, not mere string substitution. This does not add 
> any value, please remove it.


It doesn't matter that this is just a string substitution.
USES=certs:{arg} is a lot more elegant and more readable expression of 
that dependency.
This is why macros exist in many programming languages.
A significant amount of macro usage is simple string substitutions, and 
particularly in the FreeBSD source tree in /usr/include.




Yuri