Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2026 00:40:48 -0700
From:      Yuri <yuri@FreeBSD.org>
To:        Mathieu Arnold <mat@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@FreeBSD.org>, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 60817c50b4c8 - main - Mk/Uses: Add certs.mk to handle dependency on security/ca_root_nss
Message-ID:  <8677eed4-c8a3-4aee-8305-f440a46d1b90@FreeBSD.org>
In-Reply-To: <5xdq2qbbcr2h75y4zziudbo7cwx4pm6d7s3q3imk77z3t6iodj@vhv2jrsqfmag>
References:  <69aef1a8.4147d.6669a453@gitrepo.freebsd.org> <5xdq2qbbcr2h75y4zziudbo7cwx4pm6d7s3q3imk77z3t6iodj@vhv2jrsqfmag>

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

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




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8677eed4-c8a3-4aee-8305-f440a46d1b90>