diff options
author | Zac Medico <zmedico@gentoo.org> | 2019-03-06 19:21:51 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2019-03-06 19:32:31 -0800 |
commit | c197f79646d7c015f872af6139d7b08af514c0be (patch) | |
tree | 250b70c7245f507ff0c750a50f8aa31ef7e270ac /app-admin/mongo-tools | |
parent | net-proxy/shadowsocks-libev: drop old (diff) | |
download | gentoo-c197f79646d7c015f872af6139d7b08af514c0be.tar.gz gentoo-c197f79646d7c015f872af6139d7b08af514c0be.tar.bz2 gentoo-c197f79646d7c015f872af6139d7b08af514c0be.zip |
app-admin/mongo-tools: fix GOROOT for 17.1 profiles
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-admin/mongo-tools')
-rw-r--r-- | app-admin/mongo-tools/mongo-tools-4.0.6.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-admin/mongo-tools/mongo-tools-4.0.6.ebuild b/app-admin/mongo-tools/mongo-tools-4.0.6.ebuild index 9a10e5de211a..7600d4a67e54 100644 --- a/app-admin/mongo-tools/mongo-tools-4.0.6.ebuild +++ b/app-admin/mongo-tools/mongo-tools-4.0.6.ebuild @@ -54,7 +54,7 @@ src_compile() { mkdir -p bin || die for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongoreplay; do echo "Building $i" - GOROOT="${PREFIX}/usr/$(get_libdir)/go" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ + GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \ -ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" --tags "${myconf[*]}" "$i/main/$i.go" || die done } |