1 |
commit: 6554a30e6a47756812ab17110bf2a66be55edbe7 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 17 23:56:45 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 17 23:56:45 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6554a30e |
7 |
|
8 |
app-benchmarks/hey: Fix compile with go-1.13 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
app-benchmarks/hey/hey-0.1.1_p20181017.ebuild | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild b/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild |
17 |
index 0be025d4eb3..1b73bfe82c4 100644 |
18 |
--- a/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild |
19 |
+++ b/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild |
20 |
@@ -1,4 +1,4 @@ |
21 |
-# Copyright 1999-2018 Gentoo Authors |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=6 |
26 |
@@ -22,8 +22,8 @@ RDEPEND="" |
27 |
S=${WORKDIR}/${P}/src/${EGO_SRC} |
28 |
|
29 |
src_compile() { |
30 |
- GOPATH="${WORKDIR}/${P}" GOBIN="${WORKDIR}/${P}/bin" \ |
31 |
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die |
32 |
+ GOPATH="${WORKDIR}/${P}" GOBIN="${WORKDIR}/${P}/bin" GO111MODULE=on \ |
33 |
+ go install -mod=vendor -v -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die |
34 |
} |
35 |
|
36 |
src_install() { |