dev-vcs/lazygit: fix src_compile() and "--version" cmd output

Closes: https://bugs.gentoo.org/912661

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov 2023-08-21 22:19:53 +03:00
parent 920e0cadbb
commit 8c55813225
No known key found for this signature in database
GPG Key ID: 6787AA71304915E3
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,8 @@ RDEPEND="dev-vcs/git"
DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
src_compile() {
go build -o bin/lazygit || die
ego build -o bin/lazygit \
-ldflags "-X main.version=${PV}"
}
src_install() {

View File

@ -20,7 +20,8 @@ RDEPEND="dev-vcs/git"
DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
src_compile() {
go build -o bin/lazygit || die
ego build -o bin/lazygit \
-ldflags "-X main.version=${PV}"
}
src_install() {