• Changes to USES=go

    From =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?=@des@FreeBSD.org to muc.lists.freebsd.ports on Mon Dec 15 15:02:56 2025
    From Newsgroup: muc.lists.freebsd.ports

    I just pushed commit b318a7cadc57-| which adds support for specifying a
    minimum Go version, using the following syntax:
    USES= go:X.Y+
    which translates to
    rCLIf the current default Go version is less than X.Y, use Go X.Y
    instead. Otherwise, just use the default Go version.rCY
    You _must_ use this if your Go port has rCLgo X.YrCY in go.mod when X.Y is
    not yet the default version.
    You _may_ use this if your Go port has rCLgo X.YrCY in go.mod when X.Y is already the default version. It won't make any difference for most
    users, but it may help those who override GO_DEFAULT for some reason.
    It will also save you some trouble if you merge your port to a quarterly
    branch that hasn't yet switched to Go X.Y.
    The old go:X.Y syntax, which pins a port to a specific Go version, is
    still supported, but should only be used if exceptional circumstances.
    Later today or tomorrow, I will push a followup commit that changes all
    ports that currently request a specific Go version to either drop the
    version or use this syntax instead. A couple of ports needed additional updates and I'm still not done testing them all. -|https://cgit.freebsd.org/ports/commit/?id=b318a7cadc57
    DES
    --
    Dag-Erling Sm|+rgrav - des@FreeBSD.org
    --
    Posted automagically by a mail2news gateway at muc.de e.V.
    Please direct questions, flames, donations, etc. to news-admin@muc.de
    --- Synchronet 3.21a-Linux NewsLink 1.2