How to handle go dependencies
Danilo G. Baio
dbaio at FreeBSD.org
Sat Jun 22 14:21:20 UTC 2019
On Sat, Jun 22, 2019 at 11:58:49AM +0200, Matthias Fechner wrote:
> Dear all,
>
> I just prepare the gitlab-ce upgrade to version 12.0.0.
> But I have some problem with a package that uses go to compile.
>
> The new version of devel/gitaly has changed the way the package is defined.
> They removed now all files from the vendor/ folder and add dependencies
> in a `go.mod` file.
>
> If I now build the port it tries to fetch the files while no network
> access is allowed.
>
> What is the correct way to getting these dependencies fetched and
> correctly included into the work-source in the fetch step using go?
>
> Thanks a lot!
>
> Gruß
> Matthias
>
Try this and remove the go.mod file
ports-mgmt/modules2tuple
https://github.com/dmgk/modules2tuple
Examples:
net/geoipupdate
shells/antibody
Regards.
--
Danilo G. Baio (dbaio)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20190622/ad523fa6/attachment.sig>
More information about the freebsd-ports
mailing list