Re: How to handle go dependencies

2019-07-06 Thread Dmitri Goutnik via freebsd-ports
Hi Matthias, On 19-07-06 23:30:33, Matthias Fechner wrote: > Am 06.07.2019 um 21:48 schrieb Dmitri Goutnik: > > -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 dependencie

Re: How to handle go dependencies

2019-07-06 Thread Dmitri Goutnik via freebsd-ports
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 downlo

Re: How to handle go dependencies

2019-06-23 Thread Dmitri Goutnik via freebsd-ports
On 19-06-23 22:21:44, Matthias Fechner wrote: > Am 23.06.2019 um 11:57 schrieb Tobias Kortkamp: > > Please do not use it. It is broken in many ways. Use Dimtri's > > devel/modules2tuple instead. Change to WRKSRC of your port and run > > `go mod vendor` then `modules2tuple vendor/modules.txt` and

Re: How to handle go dependencies

2019-06-23 Thread Dmitri Goutnik via freebsd-ports
On 19-06-23 12:47:22, Kurt Jaeger wrote: > Hi! > > [...] > > > can't load package: package github.com/osrg/gobgp/gobgpd: cannot find > > > package "github.com/osrg/gobgp/gobgpd" in any of: > > > /usr/local/go/src/github.com/osrg/gobgp/gobgpd (from $GOROOT) > > > /home/pi/m/net/gobgp/work/src/

Re: How to handle go dependencies

2019-06-22 Thread Dmitri Goutnik via freebsd-ports
On 19-06-22 14:31:24, Adam Weinberger wrote: > On Sat, Jun 22, 2019 at 2:22 PM Bernhard Froehlich wrote: > > > > > > Am 22.06.2019 19:47 schrieb Adam Weinberger : > > > > > > On Sat, Jun 22, 2019 at 11:10 AM Bernhard Froehlich > > > wrote: > > > > > > > > > > > > Am 22.06.2019 17:56 schrieb Adam

Re: lang/go14 doesn't build without COMPAT11 in FREEBSD 12

2019-03-23 Thread Dmitri Goutnik via freebsd-ports
On 19-03-23 15:38:14, Lucas Nali de Magalhães wrote: > Hi. > > lang/go14 doesn't build in FreeBSD 12 without COMPAT11 in the kernel because > of the inode 64bit extension was added in the kernel. lang/go needs go14 to > compile and will also break without COMPAT11 in FreeBSD 12 kernel. I found a