tech-pkg archive

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

Re: Removing built-in support for sqlite3



On Tue, Jul 23, 2024 at 07:37:30AM -0400, Greg Troxel wrote:
 > I don't understand what you think we should do instead.  Could you
 > describe it, in terms of:
 > 
 >   How do we reject NetBSD <=9 base sqlite3 as not having json1?

Blacklist it by OS version in sqlite3/builtin.mk, since there doesn't
seem to be any way to detect its build config.

Maybe in the future we can figure out how to make the logic used for
checking package build options also work with builtin packages. And
maybe then hack the base sqlite to interoperate; doesn't need to be a
particular portable solution.

 >   Do we believe that NetBSD-current sqlite3 is sufficient for every
 >   package in pkgsrc that uses sqlite3?

No idea.

 >   How do we change to rejecting any other base sqlite3 as soon as there
 >   is a package that needs a feature that pkgsrc sqlite3 has and the base
 >   sqlite3 does not?

Blacklist it by OS version, I guess.

 >   Given the above, how do we ensure that no package ever links against
 >   any base lib which links against base sqlite3, in the (normal) case
 >   when base sqlite3 awas rejected?

This is already handled by the builtin logic. That's the point of my
whole objection.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index