summaryrefslogtreecommitdiff
path: root/net-fs/mc
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-07-31 13:06:29 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-07-31 13:06:59 +0300
commit9ecb2fa97fb9e36b63aa0be458928446e95c4966 (patch)
tree0112b94f9487b6dc245734026f0dff5e8b85235f /net-fs/mc
parentmedia-gfx/krita: Drop 4.2.3 (diff)
downloadgentoo-9ecb2fa97fb9e36b63aa0be458928446e95c4966.tar.gz
gentoo-9ecb2fa97fb9e36b63aa0be458928446e95c4966.tar.bz2
gentoo-9ecb2fa97fb9e36b63aa0be458928446e95c4966.zip
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 <zlogene@gentoo.org>
Diffstat (limited to 'net-fs/mc')
-rw-r--r--net-fs/mc/mc-2019.07.17.22.13.42.ebuild3
1 files changed, 1 insertions, 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 3e8f8a26e5f1..ae152571cd32 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
}