Date: Fri, 26 Jan 2024 20:59:13 +0300 From: Gleb Popov <arrowd@freebsd.org> To: Stefan Esser <se@freebsd.org> Cc: FreeBSD ports <freebsd-ports@freebsd.org> Subject: Re: This is going to break port building without poudriere! Message-ID: <CALH631nhaU04n4dg32vVGg0o%2B%2BTEvCqUmL2fs1-22zZwxb_tug@mail.gmail.com> In-Reply-To: <cc9ba960-128f-42a2-9e8d-1f0ed3f6d83f@FreeBSD.org> References: <CAB88xy-8hAknWJDRBjbJo2%2Bw878ZMosKcvQbpKVzwq%2BH7%2Bzuyg@mail.gmail.com> <cd0c0cb0-6035-45b4-b3e8-d99115e6c013@FreeBSD.org> <CAB88xy8gTC4UJK0fOiHnVCFf0AGtLoHfHdOAF29zChQ8=5SV6w@mail.gmail.com> <d6a7c9725edd734aca842d6ce85b0be2@Leidinger.net> <CALH631ntQ8VzqhDmyxpcXwpZU0jsALgi_74qzLpNDSBLtGNXRA@mail.gmail.com> <068d39a84e9702c0fd9a036e13d21464@bsdforge.com> <CALH631=mGNZHXuC%2Bb3CWyx=BExvaoR0grdqbYX95tEMRqd9aHg@mail.gmail.com> <cc9ba960-128f-42a2-9e8d-1f0ed3f6d83f@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 26, 2024 at 7:25=E2=80=AFPM Stefan Esser <se@freebsd.org> wrote= : > > And thus we add even more complexity to the port system ... > > For ports that e.g. depend on a particular interpreter version > (Python, Perl, LUA, ...) or database, we currently have 4 ways > to select the correct dependencies etc.: > > - pathname (e.g. databases/mysql81-server) > - DEFAULT_VERSIONS environment variable (DEFAULT_VERSIONS=3D"perl5=3D5.38= ") > - port OPTION > - FLAVOR Yes, there are always many ways to solve a high-level task with low-level tools. But the canonical solution is usually only one. In your example it is DEFAULT_VERSIONS.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631nhaU04n4dg32vVGg0o%2B%2BTEvCqUmL2fs1-22zZwxb_tug>