diff options
Diffstat (limited to 'app-benchmarks/hey/hey-0.1.1_p20181017.ebuild')
-rw-r--r-- | app-benchmarks/hey/hey-0.1.1_p20181017.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild b/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild index 0be025d4eb3e..c01847f7edca 100644 --- a/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild +++ b/app-benchmarks/hey/hey-0.1.1_p20181017.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -12,7 +12,7 @@ inherit golang-build golang-vcs-snapshot DESCRIPTION="HTTP load generator, ApacheBench (ab) replacement, formerly known as rakyll/boom" HOMEPAGE="https://github.com/rakyll/hey" SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -LICENSE="Apache-2.0" +LICENSE="Apache-2.0 BSD" SLOT="0" KEYWORDS="~amd64" RESTRICT="test" @@ -22,8 +22,8 @@ RDEPEND="" S=${WORKDIR}/${P}/src/${EGO_SRC} src_compile() { - GOPATH="${WORKDIR}/${P}" GOBIN="${WORKDIR}/${P}/bin" \ - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die + GOPATH="${WORKDIR}/${P}" GOBIN="${WORKDIR}/${P}/bin" GO111MODULE=on \ + go install -mod=vendor -v -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die } src_install() { |