Date: Sat, 6 Jul 2019 14:48:35 -0500 From: Dmitri Goutnik <dg@syrec.org> To: Matthias Fechner <idefix@fechner.net> Cc: freebsd-ports@freebsd.org Subject: Re: How to handle go dependencies Message-ID: <20190706194835.GA86243@xombo.localdomain> In-Reply-To: <07e99b4c-cf7e-49bb-d0a0-66a24c3a563f@fechner.net> References: <5d0e8e03.1c69fb81.5e249.9640@mx.google.com> <CAP7rwchtYTf5XPoTgk6B2drdPjzP%2B5opq-sN=kGsTJei6dT_Dg@mail.gmail.com> <20190622205205.GB40599@xombo.localdomain> <4de2a97c-8c41-74e4-cda1-4fdec9554e8f@fechner.net> <20190623095737.GA89814@urd.tobik.me> <d033ae4e-0d9c-183e-bd59-58117dde9460@fechner.net> <20190623214048.GE40599@xombo.localdomain> <07e99b4c-cf7e-49bb-d0a0-66a24c3a563f@fechner.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@syrec.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190706194835.GA86243>