Date: Tue, 22 Aug 2023 09:42:34 -0700 From: Enji Cooper <yaneurabeya@gmail.com> To: Warner Losh <imp@bsdimp.com> Cc: Graham Perrin <grahamperrin@gmail.com>, FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: Re: src.conf(5) to specify multiple flavours of a port Message-ID: <D69FC5AC-82F4-40A7-958C-27E9B7262075@gmail.com> In-Reply-To: <CANCZdfoouKRnDm3xfFGfFsdUL3cygyCvpJipoRWiRpvi4B_s7w@mail.gmail.com> References: <31c2b00f-a3c4-5608-9776-fa20ea005a45@gmail.com> <CANCZdfoouKRnDm3xfFGfFsdUL3cygyCvpJipoRWiRpvi4B_s7w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_795EB426-128A-4774-A910-72684951F896 Content-Type: multipart/alternative; boundary="Apple-Mail=_10ACAEDB-B500-4650-92F3-347FCF338BFC" --Apple-Mail=_10ACAEDB-B500-4650-92F3-347FCF338BFC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 21, 2023, at 9:34 PM, Warner Losh <imp@bsdimp.com> wrote: >=20 > 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: >>=20 >>> $ cd /usr/ports/graphics/gpu-firmware-intel-kmod >>> $ sudo make reinstall FLAVOR=3Dkabylake >> How might I use /etc/src.conf to achieve much the same, with a = different port? >>=20 >=20 >=20 >=20 > I thought stuff like this went in ports.conf=E2=80=A6 ports.conf? ports-mgmt/portconf/files/portconf.sh.in:_conf=3D%%PREFIX%%/etc/ports.conf= ports-mgmt/portconf/files/pkg-message.in:%%PREFIX%%/etc/ports.conf = configuration file Huh=E2=80=A6 TIL. -Enji --Apple-Mail=_10ACAEDB-B500-4650-92F3-347FCF338BFC Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: = after-white-space;"><br><div><blockquote type=3D"cite"><div>On Aug 21, = 2023, at 9:34 PM, Warner Losh <imp@bsdimp.com> = wrote:</div><div><div dir=3D"auto"><div><br><div = class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Aug = 21, 2023, 10:24 PM Graham Perrin <<a = href=3D"mailto:grahamperrin@gmail.com">grahamperrin@gmail.com</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 = .8ex;border-left:1px #ccc solid;padding-left:1ex"> =20 =20 =20 <div style=3D"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=3D"cite"> <pre>$ cd /usr/ports/graphics/gpu-firmware-intel-kmod $ sudo make reinstall FLAVOR=3Dkabylake</pre></blockquote><p>How might I = use <font face=3D"monospace">/etc/src.conf</font> to achieve much the same, with a different = port?</p></div></blockquote></div></div><div dir=3D"auto"><br></div><div = dir=3D"auto"><br></div><div dir=3D"auto">I thought stuff like this went = in = ports.conf=E2=80=A6</div></div></div></blockquote><div><br></div>ports.con= f?</div><div><br></div><div><p style=3D"margin: 0px; font-stretch: = normal; line-height: normal; font-family: "Andale Mono"; = font-size-adjust: none; font-kerning: auto; font-variant-alternates: = normal; font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal; color: rgb(12, 255, 0); = background-color: rgba(255, 255, 255, 0.9);"><span = style=3D"font-variant-ligatures: = no-common-ligatures">ports-mgmt/portconf/files/portconf.sh.in:_conf=3D%%PR= EFIX%%/etc/ports.conf</span></p> <p style=3D"margin: 0px; font-stretch: normal; line-height: normal; = font-family: "Andale Mono"; font-size-adjust: none; = font-kerning: auto; font-variant-alternates: normal; = font-variant-ligatures: normal; font-variant-numeric: normal; = font-variant-east-asian: normal; font-variant-position: normal; = font-feature-settings: normal; font-optical-sizing: auto; = font-variation-settings: normal; color: rgb(12, 255, 0); = background-color: rgba(255, 255, 255, 0.9);"><span = style=3D"font-variant-ligatures: = no-common-ligatures">ports-mgmt/portconf/files/pkg-message.in:%%PREFIX%%/e= tc/ports.conf configuration file</span></p></div><div><br></div>Huh=E2=80=A6= TIL.<div>-Enji</div></body></html>= --Apple-Mail=_10ACAEDB-B500-4650-92F3-347FCF338BFC-- --Apple-Mail=_795EB426-128A-4774-A910-72684951F896 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEtvtxN6kOllEF3nmX5JFNMZeDGN4FAmTk5XoACgkQ5JFNMZeD GN6OhA//fHaF7kLDQ06kP/qqeO7cSpiKxrcDFqJTDkoJ2AiIBJEHNvSWdt6d4JFU l6zssjxyxCKkxGAyL2AVjB1cT/CPm6cBM/Cwvs87ZR0lTmc7DWjkr7Q0jJn+r0iN Zw2lfEKB4MhntZyJYiysgmcYWhc4Lk6rXKsj1nTFZjMdDQA0xGNoqEzklA3pBhA2 lrIzuZm4Dfpe0JqjYQH2Mfbh9Me1GUmmuiHnzihqi3NRiNY45u7Zl0oMAj/BoelB QuwApfHcOn0TdbamyN47ZE7hXwGLKzXYRwkkHaJZ1By5DGOhebOymmyeIq8pnfVe UKINatDJZiJdj7R5Ttj8EV0VCdzD70mnC20hxjlec6obyIfcJ0ayAUZsq2aGklgl V3eDBujkKCLHJpQcTSpFvtjWMnjwDXUEQrITOgz+nXksacvWi0t6XhwkSbxEU74x V7n/lgBtcfW6PBHiCkEcyNZOvKdjklo0eLrUNAotxMKH8dN4XtpofbrndtOMYl5Q CdhyIhdFnzokxK0jvm+DXIVcGuI6OqXy98kCYmFmKDSJ6mpf4FxP6daIFIokhHF3 C+qlJcx1tIjYmGWA2IiUlU+b67qeKbAZxKQ/YN7dd/snNJcjOYSYbKpYmVz3YfP8 uWyMQqLm5PL6tDI6svWi8nnGElpBUBvbuJ1X9iMTqZ/WDKrBshk= =/Mr4 -----END PGP SIGNATURE----- --Apple-Mail=_795EB426-128A-4774-A910-72684951F896--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D69FC5AC-82F4-40A7-958C-27E9B7262075>