tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Discussion about pkgsrc dependencies and default build options



On Thu, May 12, 2022 at 08:32:59AM -0400, Greg Troxel wrote:
> 
> David Holland <dholland-pkgtech%netbsd.org@localhost> writes:
> 
> > On Wed, May 11, 2022 at 07:13:17AM -0400, Greg Troxel wrote:
> >  > It is possible to add builtin support to lua to have it use base lua if
> >  > it's good enough.  I think it's just that nobody has done that yet.
> >
> > There was a decision some time back to explicitly not do that. The
> > primary motivator, AFAICR, was that installing extension modules from
> > pkgsrc makes a huge mess. That and it's so small it doesn't really
> > matter.
> 
> Thanks for pointing that out.  I dropped a note in the
> lang/lua53/Mekefile.

I'm not sure it's much of a problem actually. You can use
extensions from pkgsrc with base system lua easily by
modifying Lua's extension path.

However, from my perspective, having unversioned Lua would make
a huge mess. This is not like Python where applications generally
always support the last couple of versions. They generally want a
specific, fixed version. That's why we have so many Luas.


Home | Main Index | Thread Index | Old Index