Gentoo Archives: gentoo-commits

From: "Jason A. Donenfeld" <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/restic/
Date: Tue, 01 Oct 2019 09:03:33
Message-Id: 1569920559.1c659d060363f621c66c816bf41f0bce9be688eb.zx2c4@gentoo
1 commit: 1c659d060363f621c66c816bf41f0bce9be688eb
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 1 09:02:08 2019 +0000
4 Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 1 09:02:39 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c659d06
7
8 app-backup/restic: use older go module behavior
9
10 Go 1.13 changed the default GO111MODULE value, and Restic hasn't been
11 updated since July to account for this, so let's opt-in to the old
12 behavior so that the build system still works.
13
14 Closes: https://bugs.gentoo.org/693764
15 Package-Manager: Portage-2.3.76, Repoman-2.3.17
16 Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>
17
18 app-backup/restic/restic-0.9.5.ebuild | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21 diff --git a/app-backup/restic/restic-0.9.5.ebuild b/app-backup/restic/restic-0.9.5.ebuild
22 index 6b97caddd1d..538885775d0 100644
23 --- a/app-backup/restic/restic-0.9.5.ebuild
24 +++ b/app-backup/restic/restic-0.9.5.ebuild
25 @@ -32,12 +32,12 @@ src_compile() {
26 -o restic ${EGO_PN}/cmd/restic
27 )
28
29 - GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
30 + GO111MODULE=off GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
31 go build "${mygoargs[@]}" || die
32 }
33
34 src_test() {
35 - GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
36 + GO111MODULE=off GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
37 go test -timeout 30m -v -work -x ${EGO_PN}/cmd/... ${EGO_PN}/internal/... || die
38 }