[MacPorts] #68340: go @1.17.13_0: environment variables for olders macOS versions cause bash to print "wrong substitution" and thus compiles fail.
MacPorts
noreply at macports.org
Wed Oct 4 06:30:23 UTC 2023
#68340: go @1.17.13_0: environment variables for olders macOS versions cause bash
to print "wrong substitution" and thus compiles fail.
------------------------+--------------------
Reporter: garoffoli | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: go |
------------------------+--------------------
Comment (by garoffoli):
Replying to [comment:2 kencu]:
> the instructions don’t say it explicitly, but they are for Portfile
additions, not for bash .profile additions.
How I can do that? Try to set these variables using
{{{
go env -w CGO_LDFLAGS="-g -O2 ${configure.ldflags}"
}}}
still gives a wrong substitution error
--
Ticket URL: <https://trac.macports.org/ticket/68340#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list