tech-pkg archive

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

Re: OS_VERSION and NetBSD 10.0



On Fri, Apr 23, 2021 at 12:09:13PM +0000, nia wrote:
> The release of NetBSD 10.0 will cause problems in pkgsrc due to the
> number of packages that attempt to evaluate the major version with
> :M on OS_VERSION.
> 
> Is there any consensus on how we're going to deal with this yet?
> 
> If not, I propose introducing a OS_MAJOR_VERSION variable to the
> mk/ infrastructure that only contains the first number.

Disregard suggestion, it's not very well thought through.
It would be better to have a way to compare numerically rather
than based on strings.


Home | Main Index | Thread Index | Old Index