From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD74B138335 for ; Thu, 28 Mar 2019 17:39:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C80CDE0B61; Thu, 28 Mar 2019 17:39:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9CF3FE0B61 for ; Thu, 28 Mar 2019 17:39:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A454335CED for ; Thu, 28 Mar 2019 17:39:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C608582 for ; Thu, 28 Mar 2019 17:39:17 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1553794747.00e497d111d51817d243ca7892b6f5d995f423bf.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/mongo-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/mongo-tools/mongo-tools-3.6.10.ebuild X-VCS-Directories: app-admin/mongo-tools/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 00e497d111d51817d243ca7892b6f5d995f423bf X-VCS-Branch: master Date: Thu, 28 Mar 2019 17:39:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3ea0a1d7-f525-4df1-9616-3aafb63d6936 X-Archives-Hash: de01a37c76ca719d9c6881f28fa40041 commit: 00e497d111d51817d243ca7892b6f5d995f423bf Author: Tomas Mozes gmail com> AuthorDate: Tue Mar 19 06:06:09 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Mar 28 17:39:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e497d1 app-admin/mongo-tools: fix GOROOT for 17.1 profiles Closes: https://github.com/gentoo/gentoo/pull/11399 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Tomáš Mózes gmail.com> Signed-off-by: Zac Medico gentoo.org> app-admin/mongo-tools/mongo-tools-3.6.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/mongo-tools/mongo-tools-3.6.10.ebuild b/app-admin/mongo-tools/mongo-tools-3.6.10.ebuild index 0e317acb91c..092d770686f 100644 --- a/app-admin/mongo-tools/mongo-tools-3.6.10.ebuild +++ b/app-admin/mongo-tools/mongo-tools-3.6.10.ebuild @@ -61,7 +61,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 }