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 2A56D138334 for ; Wed, 31 Jul 2019 10:07:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F816E07D7; Wed, 31 Jul 2019 10:07:10 +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 20593E07D7 for ; Wed, 31 Jul 2019 10:07:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9E923349048 for ; Wed, 31 Jul 2019 10:07:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B3D16FF for ; Wed, 31 Jul 2019 10:07:07 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1564567619.9ecb2fa97fb9e36b63aa0be458928446e95c4966.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-fs/mc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-fs/mc/mc-2019.07.17.22.13.42.ebuild X-VCS-Directories: net-fs/mc/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 9ecb2fa97fb9e36b63aa0be458928446e95c4966 X-VCS-Branch: master Date: Wed, 31 Jul 2019 10:07:07 +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: a5dc1df2-d114-4cef-9817-ef7a799f347f X-Archives-Hash: 8ed709ae8624a409e92ad212fb04d2f3 commit: 9ecb2fa97fb9e36b63aa0be458928446e95c4966 Author: Mikle Kolyada gentoo org> AuthorDate: Wed Jul 31 10:06:29 2019 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Wed Jul 31 10:06:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ecb2fa9 net-fs/mc: force GO111MODULE=on Closes: https://bugs.gentoo.org/690798 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> net-fs/mc/mc-2019.07.17.22.13.42.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net-fs/mc/mc-2019.07.17.22.13.42.ebuild b/net-fs/mc/mc-2019.07.17.22.13.42.ebuild index 3e8f8a26e5f..ae152571cd3 100644 --- a/net-fs/mc/mc-2019.07.17.22.13.42.ebuild +++ b/net-fs/mc/mc-2019.07.17.22.13.42.ebuild @@ -58,7 +58,6 @@ src_prepare() { default pushd src/${EGO_PN} || die - rm go.mod || die sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${VERSION}\"/"\ -e "s/-s //"\ @@ -76,7 +75,7 @@ src_compile() { pushd src/${EGO_PN} || die MC_RELEASE="${MY_PV}" - GOPATH="${S}" go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die + GO111MODULE=on GOPATH="${S}" go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die popd || die }