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 >

Re: How to handle go dependencies

2019-07-06 Thread Dmitri Goutnik via freebsd-ports
try to download anything and assume that all dependencies are already in vendor directory. Best regards, -- Dmitri Goutnik d...@syrec.org ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send

Re: How to handle go dependencies

2019-06-23 Thread Dmitri Goutnik via freebsd-ports
by setting GO111MODULES=off so "rm go.mod" can be removed from post-patch (go.mod is ignored with GO111MODULES=off): post-patch: ${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config.toml.example ${MV} ${WRKSRC}/config.toml.example ${WRKSRC}/config.toml.

Re: How to handle go dependencies

2019-06-23 Thread Dmitri Goutnik via freebsd-ports
obgp/work/gobgp-2.5.0/gobgp > > I do not think that I understand what's going on 8-} > It appears that upstream moved gobgp and gobgpd packages to ./cmd, so GO_TARGET needs to be updated: -GO_TARGET= ${GO_PKGNAME}/gobgp \ - ${GO_PKGNAME}/gobgpd +GO_TARGET= ./cmd

Re: How to handle go dependencies

2019-06-22 Thread Dmitri Goutnik via freebsd-ports
t/vendor/golang.org/x/net \ > > + golang:sync:1d60e4:sync/vendor/golang.org/x/sync \ > > + golang:sys:7c87d1:sys/vendor/golang.org/x/sys > > > > -do-build: > > - ${RM} ${WRKSRC}/go.mod > > - cd ${WRKSRC} &&a

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

2019-03-23 Thread Dmitri Goutnik via freebsd-ports
scr...@freebsd.org" Hi Lucas, COMPAT_FREEBSD11 is a documented requirement for lang/go and lang/go14 on FreeBSD 12 [1]. [2] explains technical reasons behind this requirement. [1] https://github.com/golang/go/wiki/FreeBSD [2] https://github.com/golang/go/issues/22447#issuecomment-4238241

Re: has a framework change broken sysutils/google-compute-engine-oslogin?

2018-08-08 Thread Dmitri Goutnik
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" Hi Julian, As Jan said, port's Makefile is broken in a sense that not all of its binary targets respect CXXFLAGS. I took a stab at unbreaking the build, s

Re: sysutils/ipfs-go downloads pre-built binaries while sources are available

2018-03-12 Thread Dmitri Goutnik
sd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org" -- Dmitri Goutnik d...@syrec.org | GPG: https://syrec.org/d...@syrec.org.asc ___ f

Re: Go ports fail with fs violation: Error: Filesystem touched during build:,extra: root/.cache

2018-02-27 Thread Dmitri Goutnik
Go 1.10 started caching build artefacts [1] in GOCACHE (~/.cache/go-build by default). This probably needs to be disabled by settings GOCACHE=off in port Makefiles (unless there's a better way to disable it globally). [1] https://groups.google.com/forum/#!msg/golang-dev/qfa3mHN4ZPA/X2UzjNV1BAAJ

Re: FreeBSD Port: gogs-0.11.34_1 Fix file commit history pagination

2017-12-31 Thread Dmitri Goutnik
Thanks! PR updated, https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224614 On Sat, Dec 30, 2017 at 11:03 PM, Douglas Thrift wrote: > Hello, > > I've already submitted a fix for this upstream: > > https://github.com/gogits/gogs/pull/4965 > > But, I have also attached

Re: FreeBSD Port: gogs-0.11.34_1 rc.d script status does not work correctly

2017-12-27 Thread Dmitri Goutnik
Hi Douglas, This should be fixed by https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224614 Regards, Dmitri On Tue, Dec 26, 2017 at 8:25 PM, Douglas Thrift wrote: > Hello, > > I just noticed that the gogs rc.d script's status subcommand does not > work, when I have

AIM is shutting down today

2017-12-15 Thread Dmitri Goutnik
With AOL Instant Messenger products and services going dark today(*) (December 15th 2017), a few ports will stop working and probably need to be deprecated: net-im/bsflite net-im/p5-Net-AIM net-im/pork security/aimsniff Additionally, these ports irc/bitlbee net-im/centerim net-im/centerim-devel

devel/gogs is looking for a committer

2017-12-08 Thread Dmitri Goutnik
Hi, Can someone please have a look at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224113 Thanks, Dmitri ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to

Re: FreeBSD Port: gogs-0.11.34

2017-12-04 Thread Dmitri Goutnik
Hi Douglas, Thanks for pointing that out, I missed your comment in the PR discussion. I'll update the port to use "git" user though this will probably make it conflict with www/gitea (and maybe others you mentioned) because they'll be both modifying the contents of ~git/.ssh and will have

CPUTYPE translation confuses gcc48 on 11.0-BETA1

2016-07-11 Thread Dmitri Goutnik
CPUTYPE translation performed by /usr/share/mk/bsd.cpu.mk seems to confuse gcc48 and as a consequence, all ports that use gcc48 (including lang/gcc itself) fail on configure stage. uname -a: FreeBSD xombo.syrec.org 11.0-BETA1 FreeBSD 11.0-BETA1 #0 r302526: Sun Jul 10 16:12:30 ECT 2016