commit:     d5ea0c7b28567003ada87a85941db1c310928ab1
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 16 08:08:25 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 16 08:08:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5ea0c7b

app-admin/gopass: fix build with root dir git

Closes: https://bugs.gentoo.org/967608
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-admin/gopass/gopass-1.16.1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-admin/gopass/gopass-1.16.1.ebuild 
b/app-admin/gopass/gopass-1.16.1.ebuild
index 9383ab72329c..cec88ba79491 100644
--- a/app-admin/gopass/gopass-1.16.1.ebuild
+++ b/app-admin/gopass/gopass-1.16.1.ebuild
@@ -28,8 +28,10 @@ BDEPEND="
 src_prepare() {
        default
 
-       # remove stripping from Makefile
-       sed -e '/ldflags/s/-s //g' -i Makefile || die
+       # remove stripping & buildvcs from Makefile
+       sed -e '/ldflags/s/-s //g' \
+               -e '/buildvcs/s/-buildvcs=true //g' \
+               -i Makefile || die
 
        # Broken on dates other than 2023-01-07
        sed -e 's/TestHTML/_&/' -i internal/audit/output_test.go || die

Reply via email to