commit: 5bdc77adc9eed7ff16ea011b116a4a78a5939afd Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Sat Feb 17 10:32:14 2024 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Sat Feb 17 10:33:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5bdc77ad
net-news/newsraft: Fix tests without native-symlinks Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> net-news/newsraft/newsraft-9999.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/net-news/newsraft/newsraft-9999.ebuild b/net-news/newsraft/newsraft-9999.ebuild index f2923dc3fc..4808d8d113 100644 --- a/net-news/newsraft/newsraft-9999.ebuild +++ b/net-news/newsraft/newsraft-9999.ebuild @@ -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" @@ -36,6 +38,11 @@ src_compile() { emake CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" } +src_test() { + tc-export CC # For run-check.sh + emake CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" check +} + src_install() { emake PREFIX="/usr" DESTDIR="${D}" install einstalldocs