Re: src.conf(5) to specify multiple flavours of a port
- Reply: Graham Perrin : "ports-mgmt/portconf – not src.conf(5) –_to_specify_multiple_flavours_of_a_port_for_buildkernel_ purposes"
- Reply: Enji Cooper : "Re: src.conf(5) to specify multiple flavours of a port"
- In reply to: Graham Perrin : "src.conf(5) to specify multiple flavours of a port"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Aug 2023 04:34:55 UTC
On Mon, Aug 21, 2023, 10:24 PM Graham Perrin <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... Warner > A recent edition of my file included these four lines, the third of which > causes an error: > > PORTS_MODULES= graphics/drm-510-kmod > # PORTS_MODULES= graphics/drm-515-kmod > PORTS_MODULES+= graphics/gpu-firmware-radeon-kmod@btc > graphics/gpu-firmware-radeon-kmod@sumo > graphics/gpu-firmware-radeon-kmod@turks > # PORTS_MODULES+= graphics/gpu-firmware-radeon-kmod > > This morning: I use the fourth line, instead. > > In future: I'd prefer to be without the build time that's associated with > so many flavours, when only three are required. > > <https://www.freshports.org/graphics/gpu-firmware-radeon-kmod/#flavors> > <https://www.freshports.org/graphics/gpu-firmware-radeon-kmod/#flavors> > > > More than doubly time-consuming, because: > > KERNCONF=GENERIC GENERIC-NODEBUG > # KERNCONF=GENERIC > # KERNCONF=GENERIC-NODEBUG > > NO_INSTALLEXTRAKERNELS=no > > TIA > > >