Date: Mon, 21 Aug 2023 22:34:55 -0600 From: Warner Losh <imp@bsdimp.com> To: Graham Perrin <grahamperrin@gmail.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: src.conf(5) to specify multiple flavours of a port Message-ID: <CANCZdfoouKRnDm3xfFGfFsdUL3cygyCvpJipoRWiRpvi4B_s7w@mail.gmail.com> In-Reply-To: <31c2b00f-a3c4-5608-9776-fa20ea005a45@gmail.com> References: <31c2b00f-a3c4-5608-9776-fa20ea005a45@gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 > > > [-- Attachment #2 --] <div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 21, 2023, 10:24 PM Graham Perrin <<a href="mailto:grahamperrin@gmail.com">grahamperrin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div style="padding-bottom:1px"> In a thread elsewhere, as an example that did <i>not</i> involve src.conf, Mark Johnston wrote: <br> <br> <blockquote type="cite"> <pre>$ cd /usr/ports/graphics/gpu-firmware-intel-kmod $ sudo make reinstall FLAVOR=kabylake</pre> </blockquote> <br> <p>How might I use <font face="monospace">/etc/src.conf</font> to achieve much the same, with a different port?</p></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I thought stuff like this went in ports.conf...</div><div dir="auto"><br></div><div dir="auto">Warner </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="padding-bottom:1px"> <p>A recent edition of my file included these four lines, the third of which causes an error: <font face="monospace"><br> </font></p> <p><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff">PORTS_MODULES= graphics/drm-510-kmod </span><br> # PORTS_MODULES= graphics/drm-515-kmod <br> PORTS_MODULES+= graphics/gpu-firmware-radeon-kmod@btc graphics/gpu-firmware-radeon-kmod@sumo graphics/gpu-firmware-radeon-kmod@turks <br> # PORTS_MODULES+= graphics/gpu-firmware-radeon-kmod <br> </span></p> <p>This morning: I use the fourth line, instead. <br> </p> <p>In future: I'd prefer to be without the build time that's associated with so many flavours, when only three are required. <br> </p> <p><a href="https://www.freshports.org/graphics/gpu-firmware-radeon-kmod/#flavors" target="_blank" rel="noreferrer"><https://www.freshports.org/graphics/gpu-firmware-radeon-kmod/#flavors></a></p> <p><br> </p> <p>More than doubly time-consuming, because: <br> </p> <p><span style="font-family:monospace"><span style="color:#000000;background-color:#ffffff">KERNCONF=GENERIC GENERIC-NODEBUG </span><br> # KERNCONF=GENERIC <br> # KERNCONF=GENERIC-NODEBUG <br> <br> NO_INSTALLEXTRAKERNELS=no<br> <br> </span></p> <p>TIA</p> <p><br> </p> <p></p> </div> <u></u><u></u> </blockquote></div></div></div>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoouKRnDm3xfFGfFsdUL3cygyCvpJipoRWiRpvi4B_s7w>
