app-admin/himitsu-totp: tc-export AS CC LD

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier
2026-03-03 23:55:54 +01:00
parent a98d8f03c5
commit a7f2f5f4a7
2 changed files with 9 additions and 3 deletions

View File

@@ -1,8 +1,10 @@
# Copyright 2022-2025 Gentoo Authors
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
if [[ "${PV}" = "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/himitsu-totp"
@@ -28,4 +30,5 @@ QA_FLAGS_IGNORED="usr/bin/hitotp"
src_configure() {
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
tc-export AS CC LD
}

View File

@@ -1,8 +1,10 @@
# Copyright 2022-2024 Gentoo Authors
# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
if [[ "${PV}" = "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/himitsu-totp"
@@ -19,7 +21,7 @@ SLOT="0"
RDEPEND="app-admin/himitsu:="
DEPEND="
${RDEPEND}
>=dev-lang/hare-0.24.2:=
>=dev-lang/hare-0.25.2:=
"
BDEPEND="app-text/scdoc"
@@ -28,4 +30,5 @@ QA_FLAGS_IGNORED="usr/bin/hitotp"
src_configure() {
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
tc-export AS CC LD
}