diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-08-09 22:26:35 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-08-09 22:35:17 -0700 |
commit | 2f3ebb81c0c041fa4ffa598cd1040d5973bb48f4 (patch) | |
tree | d0c9bb3e549052f5b65a0069f1126b3547171549 /app-admin/consul-template/consul-template-9999.ebuild | |
parent | app-admin/consul: inherit go-build for GOPATH setting with get_golibdir_gopath (diff) | |
download | gentoo-2f3ebb81c0c041fa4ffa598cd1040d5973bb48f4.tar.gz gentoo-2f3ebb81c0c041fa4ffa598cd1040d5973bb48f4.tar.bz2 gentoo-2f3ebb81c0c041fa4ffa598cd1040d5973bb48f4.zip |
app-admin/consul-template: inherit go-build for GOPATH setting with get_golibdir_gopath
Package-Manager: portage-2.2.20
Diffstat (limited to 'app-admin/consul-template/consul-template-9999.ebuild')
-rw-r--r-- | app-admin/consul-template/consul-template-9999.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-admin/consul-template/consul-template-9999.ebuild b/app-admin/consul-template/consul-template-9999.ebuild index 40307ab73520..0dcf7f1b9541 100644 --- a/app-admin/consul-template/consul-template-9999.ebuild +++ b/app-admin/consul-template/consul-template-9999.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit git-r3 systemd user +inherit git-r3 golang-base systemd user KEYWORDS="" DESCRIPTION="Generic template rendering and notifications with Consul" @@ -32,7 +32,7 @@ pkg_setup() { } src_unpack() { - export GOPATH=${WORKDIR} + export GOPATH=${WORKDIR}:$(get_golibdir_gopath) git-r3_src_unpack go get -d -v ./... $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...) || die } |