commit: d6dff2a1ec941339298a75a50302bcd81186d985
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 11:57:31 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 12:36:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6dff2a1
dev-util/fq: conditionally build tests
Avoid building & running tests twice (src_test will call 'make test').
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/fq/fq-0.2.0.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dev-util/fq/fq-0.2.0.ebuild b/dev-util/fq/fq-0.2.0.ebuild
index ae862b026637..992916809c7e 100644
--- a/dev-util/fq/fq-0.2.0.ebuild
+++ b/dev-util/fq/fq-0.2.0.ebuild
@@ -23,6 +23,9 @@ src_prepare() {
# https://github.com/wader/fq/issues/494
sed -i -e '/test_repl.exp/d' Makefile || die
+ # Don't unconditionally (and therefore twice) build tests
+ # TODO: upstream
+ sed -i -e 's/all: test fq/all: fq/' Makefile || die
}
src_compile() {