summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-03-04 15:16:04 -0800
committerZac Medico <zmedico@gentoo.org>2022-03-04 15:22:11 -0800
commitbbc726ff54e787616c5f0114bb2cdf9d38c81209 (patch)
treef8ae792db25362af322be088b560787f3668861d
parentgames-engines/odamex: Version bump to 10.0.0, unbundling patches (diff)
downloadgentoo-bbc726ff54e787616c5f0114bb2cdf9d38c81209.tar.gz
gentoo-bbc726ff54e787616c5f0114bb2cdf9d38c81209.tar.bz2
gentoo-bbc726ff54e787616c5f0114bb2cdf9d38c81209.zip
app-misc/jp: Workaround ego mod tidy failure
Bug: https://bugs.gentoo.org/834594 See: f9ee55e698f8 ("go-module.eclass: use ego helper function") Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--app-misc/jp/jp-0.2.1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-misc/jp/jp-0.2.1.ebuild b/app-misc/jp/jp-0.2.1.ebuild
index e3f78b97a353..4bcecfa425fe 100644
--- a/app-misc/jp/jp-0.2.1.ebuild
+++ b/app-misc/jp/jp-0.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -42,6 +42,11 @@ RESTRICT+=" test"
REQUIRED_USE="!jpp"
RDEPEND="!app-misc/jpipe[jp-symlink]"
+# Workaround https://bugs.gentoo.org/834594
+ego() {
+ go "${@}"
+}
+
src_compile() {
go build -mod=readonly -o ./jp ./jp.go || die
}