Re: src.conf(5) to specify multiple flavours of a port

From: Enji Cooper <yaneurabeya_at_gmail.com>
Date: Tue, 22 Aug 2023 16:42:34 UTC
> On Aug 21, 2023, at 9:34 PM, Warner Losh <imp@bsdimp.com> wrote:
> 
> On Mon, Aug 21, 2023, 10:24 PM Graham Perrin <grahamperrin@gmail.com <mailto:grahamperrin@gmail.com>> wrote:
>> In a thread elsewhere, as an example that did not involve src.conf, Mark Johnston wrote:
>> 
>>> $ cd /usr/ports/graphics/gpu-firmware-intel-kmod
>>> $ sudo make reinstall FLAVOR=kabylake
>> How might I use /etc/src.conf to achieve much the same, with a different port?
>> 
> 
> 
> 
> I thought stuff like this went in ports.conf…

ports.conf?

ports-mgmt/portconf/files/portconf.sh.in:_conf=%%PREFIX%%/etc/ports.conf
ports-mgmt/portconf/files/pkg-message.in:%%PREFIX%%/etc/ports.conf configuration file

Huh… TIL.
-Enji