diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-01-15 20:04:21 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-01-15 20:04:50 +0100 |
commit | 812c84d10019d674b00e0535d327f493ed50e1fe (patch) | |
tree | fe5a1b5e467df0c8f803bc59da2270f517899c15 /app-metrics/snmp_exporter | |
parent | app-metrics/prometheus: Version bump to 2.6.1 (diff) | |
download | gentoo-812c84d10019d674b00e0535d327f493ed50e1fe.tar.gz gentoo-812c84d10019d674b00e0535d327f493ed50e1fe.tar.bz2 gentoo-812c84d10019d674b00e0535d327f493ed50e1fe.zip |
app-metrics/snmp_exporter: Add GOCACHE
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'app-metrics/snmp_exporter')
-rw-r--r-- | app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild index 748975e72896..652a7408d4eb 100644 --- a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild +++ b/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild @@ -33,9 +33,9 @@ src_prepare() { src_compile() { pushd src/${EGO_PN} || die - GO111MODULE=on GOPATH="${S}" promu build -v || die + GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v || die pushd generator || die - GO111MODULE=on GOPATH="${S}" go build -mod=vendor -o ../bin/generator . || die + GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build -mod=vendor -o ../bin/generator . || die popd || die } |