summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-07-25 23:55:01 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-07-25 23:55:44 +0300
commit77da9e483601322df638f375201490af9fbd6a0f (patch)
tree3cae3b985174ea1b9b9deebf47c9104d6e9fdf0d /net-fs
parentnet-libs/glib-networking: bump to 2.60.3 (diff)
downloadgentoo-77da9e483601322df638f375201490af9fbd6a0f.tar.gz
gentoo-77da9e483601322df638f375201490af9fbd6a0f.tar.bz2
gentoo-77da9e483601322df638f375201490af9fbd6a0f.zip
net-fs/minio: do not remove go.mod
This is now required because minio has more implicit dependencies Closes: https://bugs.gentoo.org/690720 Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/minio/minio-2019.07.24.02.02.23.ebuild4
1 files changed, 1 insertions, 3 deletions
diff --git a/net-fs/minio/minio-2019.07.24.02.02.23.ebuild b/net-fs/minio/minio-2019.07.24.02.02.23.ebuild
index cf7762ee219f..4f57a0ebede2 100644
--- a/net-fs/minio/minio-2019.07.24.02.02.23.ebuild
+++ b/net-fs/minio/minio-2019.07.24.02.02.23.ebuild
@@ -160,8 +160,6 @@ src_prepare() {
pushd src/${EGO_PN} || die
- rm go.mod || die
-
sed -i -e "s/time.Now().UTC().Format(time.RFC3339)/\"${MY_PV}\"/"\
-e "s/-s //"\
-e "/time/d"\
@@ -177,7 +175,7 @@ src_compile() {
pushd src/${EGO_PN} || die
MINIO_RELEASE="${MY_PV}"
go run buildscripts/gen-ldflags.go
- GOPATH="${S}" go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die
+ GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build --ldflags "$(go run buildscripts/gen-ldflags.go)" -o ${PN} || die
popd || die
}