commit:     76fde9afa8c53a048acab50cf609df655a5a68fe
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 20 07:37:57 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Dec 20 10:51:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fde9af

net-misc/dropbear: disable tests with USE=static

Cannot run tests when built statically, we use LD_PRELOAD to run them.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 net-misc/dropbear/dropbear-2025.89.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/net-misc/dropbear/dropbear-2025.89.ebuild 
b/net-misc/dropbear/dropbear-2025.89.ebuild
index c2ccda9d5649..e26e34f926c7 100644
--- a/net-misc/dropbear/dropbear-2025.89.ebuild
+++ b/net-misc/dropbear/dropbear-2025.89.ebuild
@@ -182,6 +182,14 @@ src_compile() {
        fi
 }
 
+src_test() {
+       if use static; then
+               ewarn "Cannot run tests with USE=static"
+       else
+               default
+       fi
+}
+
 src_install() {
        set_options
        emake "${makeopts[@]}" PROGRAMS="${progs[*]}" DESTDIR="${D}" install

Reply via email to