[MacPorts] #63305: goreleaser @0.174.1_1: sh: {MACPORTS_LEGACY_SUPPORT_LDFLAGS=-L/opt/local/lib: No such file or directory
MacPorts
noreply at macports.org
Tue Jul 27 22:55:41 UTC 2021
#63305: goreleaser @0.174.1_1: sh:
{MACPORTS_LEGACY_SUPPORT_LDFLAGS=-L/opt/local/lib: No such file or
directory
-------------------------+-------------------------
Reporter: ryandesign | Owner: herbygillot
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: fixed | Keywords:
Port: goreleaser |
-------------------------+-------------------------
Comment (by herbygillot):
The `completions.sh` script does run `go`, so we do need all the
environment variables provided by `legacysupport`. Solution here was just
cramming all the build steps into a single `build.sh` and setting that as
the `build.cmd` so that it gets all the environment variables that would
ordinarily go to default build command (`go build`).
--
Ticket URL: <https://trac.macports.org/ticket/63305#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list