At Sun, 6 Mar 2022 12:31:14 +0000, Jonathan Perkin <jperkin%joyent.com@localhost> wrote: Subject: Re: GO on macOS Monterrey > > * On 2022-03-05 at 23:32 GMT, Roland Illig wrote: > > > To get only the major version even in case of three-part version > > numbers, use ':R' twice, resulting in ${OSX_VERSION:R:R}. > > I added OPSYS_VERSION recently to avoid all this. Thank you Jonathan! I would swear I looked high and low in pkgsrc for exactly that several times over the last week or two, but obviously I didn't look hard enough! -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgp37mKzVUQ9I.pgp
Description: OpenPGP Digital Signature