mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
app-admin/himitsu-totp: tc-export AS CC LD
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
if [[ "${PV}" = "9999" ]]; then
|
if [[ "${PV}" = "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/himitsu-totp"
|
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/himitsu-totp"
|
||||||
@@ -28,4 +30,5 @@ QA_FLAGS_IGNORED="usr/bin/hitotp"
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
|
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
|
||||||
|
tc-export AS CC LD
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
if [[ "${PV}" = "9999" ]]; then
|
if [[ "${PV}" = "9999" ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/himitsu-totp"
|
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/himitsu-totp"
|
||||||
@@ -19,7 +21,7 @@ SLOT="0"
|
|||||||
RDEPEND="app-admin/himitsu:="
|
RDEPEND="app-admin/himitsu:="
|
||||||
DEPEND="
|
DEPEND="
|
||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
>=dev-lang/hare-0.24.2:=
|
>=dev-lang/hare-0.25.2:=
|
||||||
"
|
"
|
||||||
BDEPEND="app-text/scdoc"
|
BDEPEND="app-text/scdoc"
|
||||||
|
|
||||||
@@ -28,4 +30,5 @@ QA_FLAGS_IGNORED="usr/bin/hitotp"
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
|
sed -i 's;^PREFIX=.*;PREFIX=/usr;' Makefile || die
|
||||||
|
tc-export AS CC LD
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user