Bug 273141 - Mk/Uses/go.mk: Doesn't handle 'replace' instructions in go.mod properly
Summary: Mk/Uses/go.mk: Doesn't handle 'replace' instructions in go.mod properly
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Golang Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-15 09:17 UTC by Yuri Victorovich
Modified: 2023-11-13 07:03 UTC (History)
3 users (show)

See Also:


Attachments
Makefile (435 bytes, text/plain)
2023-08-15 09:17 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2023-08-15 09:17:14 UTC
Created attachment 244114 [details]
Makefile

See the attached Makefile.

The 'replace' instruction like https://github.com/open-policy-agent/opa/blob/main/go.mod#L102C1-L102C8 doesn't seem to be handled properly.
Comment 1 Michael Gmelin freebsd_committer freebsd_triage 2023-09-13 17:44:49 UTC
sysutils/consul has an example of a workaround.