commit:     e3e5f2bbaf058ace76bcf78669a7531e2232ae24
Author:     Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
AuthorDate: Wed Aug 14 22:48:28 2024 +0000
Commit:     Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
CommitDate: Wed Aug 14 22:48:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3e5f2bb

app-shells/shox: Add explanation about why EGO_SUM is used by this ebuild 
instead of the bundled vendor.

Signed-off-by: Benoît Dufour <benoit.dufour <AT> mail.com>

 app-shells/shox/shox-2024.01.25.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/app-shells/shox/shox-2024.01.25.ebuild 
b/app-shells/shox/shox-2024.01.25.ebuild
index 30f1942b2..163b42116 100644
--- a/app-shells/shox/shox-2024.01.25.ebuild
+++ b/app-shells/shox/shox-2024.01.25.ebuild
@@ -98,14 +98,18 @@ src_prepare() {
 
        rm -rf ./vendor
 
+    # shox fails to build when the go version in its go.mod is go 1.15. It 
needs to be at least 1.17.
        sed -ie "s/go 1.15/go 1.17/" ./go.mod || die "Fails applying go version 
patch."
 }
 
 src_compile() {
-       #ego build -mod=vendor ./cmd/shox
+    # If the current EGO_SUM is removed, this command will fail complaining 
about inconsitency.
+    # It will then ask for running "ego mod vendor", which will also fail 
because it will try downloading dependencies.
        ego mod tidy
+    # This command succeeds with EGO_SUM but will fail without it.
        ego build ./cmd/shox
-       #ego build
+    # If the current EGO_SUM is removed, this command will fail.
+       #ego build -mod=vendor ./cmd/shox
 }
 
 src_test() {

Reply via email to