summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs')
-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
}