commit:     8661092e3f61e051140d3c04d22454afa6372d18
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  9 15:14:38 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Dec  9 15:17:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8661092e

dev-cpp/cpp-httplib: USE=test requires other flags

The build system, when adding tests, doesn't separate based
on the flags, so we require all those flags to be ON when
testing. It isn't really worth it to improve build system.

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-cpp/cpp-httplib/cpp-httplib-0.28.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-cpp/cpp-httplib/cpp-httplib-0.28.0.ebuild 
b/dev-cpp/cpp-httplib/cpp-httplib-0.28.0.ebuild
index 6d76f85f4637..deb408de5f3a 100644
--- a/dev-cpp/cpp-httplib/cpp-httplib-0.28.0.ebuild
+++ b/dev-cpp/cpp-httplib/cpp-httplib-0.28.0.ebuild
@@ -25,6 +25,7 @@ LICENSE="MIT"
 SLOT="0/$(ver_cut 0-2)"  # soversion
 
 IUSE="brotli ssl test zlib zstd"
+REQUIRED_USE="test? ( brotli zlib zstd )"
 RESTRICT="!test? ( test )"
 
 RDEPEND="

Reply via email to