We can't repeat the -mod flag, so we need to replace the GOFLAGS if
EGO_VENDOR is being used.
Closes: https://bugs.gentoo.org/
7111640
Signed-off-by: William Hubbs <williamh@gentoo.org>
-f "${DISTDIR}/${tarball}" || die
eend
done
- [[ ${#EGO_VENDOR[@]} -gt 0 ]] && GOFLAGS+=" -mod=vendor"
+ # replace GOFLAGS if EGO_VENDOR is being used
+ [[ ${#EGO_VENDOR[@]} -gt 0 ]] &&
+ GOFLAGS="-v -x -mod=vendor"
eqawarn "${P}.ebuild: EGO_VENDOR will be removed in the future."
eqawarn "Please request that the author migrate to EGO_SUM."
}