Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Oct 2022 20:33:52 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Adam Weinberger <adamw@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 9d241a90370c - main - Mk: Add USES=luajit
Message-ID:  <pmeu-6yr3-wny@FreeBSD.org>
In-Reply-To: <CAP7rwciigyJxVJZ5=e=m8=X6u0PpDP=urfp_jtrgfEJHHMj9Eg@mail.gmail.com> (Adam Weinberger's message of "Fri, 14 Oct 2022 11:29:03 -0600")
References:  <202210141707.29EH7i08013647@gitrepo.freebsd.org> <k052-b9ml-wny@FreeBSD.org> <CAP7rwciigyJxVJZ5=e=m8=X6u0PpDP=urfp_jtrgfEJHHMj9Eg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Adam Weinberger <adamw@freebsd.org> writes:

> On Fri, Oct 14, 2022 at 11:25 AM Jan Beich <jbeich@freebsd.org> wrote:
>
>> Adam Weinberger <adamw@FreeBSD.org> writes:
>>
>> >     For the vast majority of situations, USES=luajit will be sufficient.
>> >     Ports that use openresty's API additions can specify
>> >     USES=luajit:openresty.
>>
>> Are consumers to be switched "en masse" or "one by one"?
>>
>
> Hi Jan,
>
> I'm going to switch a couple ports (neovim and luv) right now, but my
> thinking is that perhaps the best approach is two exp-runs. The first run
> can switch everything depending on lang/luajit to USES=luajit. For the
> second run, I'll need to look at everything that depends on
> luajit-openresty to find out whether it uses it because it uses the
> openresty API or because what they actually wanted was "anything other than
> the old version in lang/luajit."
>
> Does that sound sensible?

Probably:
- exp-runs can be reduced via local testing as USES=luajit only has ~50 candidates
- luajit -> luajit-devel is safe due to same upstream and tested by other distros
- luajit-openresty -> luajit-devel build test may show false negatives[1] but
  ARCH-specific cases are likely safe

[1] www/openresty and {devel,www}/lua-resty-* build fine with lang/luajit-devel.
    However, not every instance maybe as obvious whether to ask maintainer.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?pmeu-6yr3-wny>