pkgsrc-Users archive

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

Re: Cross compile - CROSS_OPSYS_VERSION usage / syntax ?



> On Dec 25, 2024, at 3:39 PM, nia <nia%NetBSD.org@localhost> wrote:
> 
> Hi, these mirror the regular pkgsrc variables
> OS_VERSION and OPSYS_VERSION.
> 
> OS_VERSION is the original variable and is used with
> string comparison.
> 
> OPSYS_VERSION is much newer and is used in integer comparisons.
> 
> In most cases integer comparison is more flexible, but there's
> some old stuff hanging around that hasn't been touched in years
> using OS_VERSION.

Thanks for the clarification - do I have the syntax right ?  3 two digits places for the version levels ?  1.2.3 would be 010203 ?


Home | Main Index | Thread Index | Old Index