mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
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:
1 parent
5bdc77adc9
commit
82246f1e39
2 files changed
+5
-2
No files matched your search
@@ -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}"
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user