Date: Tue, 22 Aug 2023 05:24:29 +0100 From: Graham Perrin <grahamperrin@gmail.com> To: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: src.conf(5) to specify multiple flavours of a port Message-ID: <31c2b00f-a3c4-5608-9776-fa20ea005a45@gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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? 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> More than doubly time-consuming, because: KERNCONF=GENERIC GENERIC-NODEBUG # KERNCONF=GENERIC # KERNCONF=GENERIC-NODEBUG NO_INSTALLEXTRAKERNELS=no TIA [-- Attachment #2 --] <html data-lt-installed="true"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body 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" cite="mid:ZOOr--4YR-wHWZ-0@nuc"> <pre class="moz-quote-pre" wrap="">$ 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> <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 class="moz-txt-link-rfc2396E" href="https://www.freshports.org/graphics/gpu-firmware-radeon-kmod/#flavors"><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> </body> <lt-container></lt-container> </html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31c2b00f-a3c4-5608-9776-fa20ea005a45>
