[Bug 264336] [exp-run] Introduce versioned Go ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 29 May 2022 23:09:37 UTC

            Bug ID: 264336
           Summary: [exp-run] Introduce versioned Go ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://reviews.freebsd.org/D35346
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: dmgk@freebsd.org
                CC: ports-bugs@FreeBSD.org
             Flags: exp-run?

Created attachment 234317
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234317&action=edit

- Add support for selecting Go port version in USES=go;
- Set default Go version (GO_DEFAULT) in Mk/bsd.default-versions.mk
- Convert lang/go-devel port to the master and lang/go{117,118} ports to
  simple slave ports;
- Convert lang/go to a meta-port that provides go and gofmt symlinks to the
  current default version.

Other changes are port build fixes, they

- Add 1.17 to USES=go for ports that still need go117 and remove GO_PORT;
- Add missing ${SETENV} ${MAKE_ENV} to repair BINARY_ALIAS;
- Remove explicit dependencies on lang/go.

Expected build failures:

- mail/aerc: dependency net/dante fails to configure
- multimedia/navidrome: npm build error
- sysutils/openshift-install: fails at fetch stage

You are receiving this mail because:
You are on the CC list for the bug.