How to handle go dependencies
Dmitri Goutnik
dg at syrec.org
Sat Jul 6 19:48:46 UTC 2019
Hi Matthias,
On 19-07-06 19:52:04, Matthias Fechner wrote:
> I used now USES= gmake |go:no_targets|
In addition to `no_targets`, you'd also want a `modules` arg :
-USES= gmake go:no_targets
+USES= gmake go:modules,no_targets
It adds -mod=vendor build flag that tells Go to not try to download anything
and assume that all dependencies are already in vendor directory.
Best regards,
--
Dmitri Goutnik
dg at syrec.org
More information about the freebsd-ports
mailing list