net-news/newsraft: use toolchain-funcs for default $CC

Closes: https://bugs.gentoo.org/911243
Closes: https://bugs.gentoo.org/911242
Closes: https://bugs.gentoo.org/911241
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
Haelwenn (lanodan) Monnier committed 2024-02-17 11:39:53 +01:00
1 parent 5bdc77adc9
commit 82246f1e39
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -1,8 +1,10 @@
# Copyright 2023 Gentoo Authors
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="A lightweight feed reader with ncurses user interface inspired by Newsboat."
HOMEPAGE="https://codeberg.org/grisha/newsraft"
@@ -33,6 +35,7 @@ BDEPEND="
"
src_compile() {
tc-getCC
emake CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
+1 -1
View File
@@ -35,11 +35,11 @@ BDEPEND="
"
src_compile() {
tc-getCC
emake CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}
src_test() {
tc-export CC # For run-check.sh
emake CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" check
}