From b88892c8d906c8bf491a8d9cf8fd7ddde1251700 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 10 Sep 2021 18:17:36 +0100 Subject: net-misc/iputils: make tests conditional Closes: https://bugs.gentoo.org/807973 Signed-off-by: Sam James --- net-misc/iputils/iputils-99999999.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'net-misc/iputils/iputils-99999999.ebuild') diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild index 0e3d015bdb90..fe97d131c7f4 100644 --- a/net-misc/iputils/iputils-99999999.ebuild +++ b/net-misc/iputils/iputils-99999999.ebuild @@ -28,10 +28,12 @@ HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils" LICENSE="BSD GPL-2+ rdisc" SLOT="0" -IUSE="+arping caps clockdiff doc gcrypt idn ipv6 nettle nls rarpd rdisc ssl static tftpd tracepath traceroute6" +IUSE="+arping caps clockdiff doc gcrypt idn ipv6 nettle nls rarpd rdisc ssl static test tftpd tracepath traceroute6" +RESTRICT="!test? ( test )" BDEPEND=" virtual/pkgconfig + test? ( sys-apps/iproute2 ) nls? ( sys-devel/gettext ) " @@ -88,6 +90,7 @@ src_configure() { -DNO_SETCAP_OR_SUID="true" -Dsystemdunitdir="$(systemd_get_systemunitdir)" -DUSE_GETTEXT="$(usex nls true false)" + $(meson_use !test SKIP_TESTS) ) if [[ "${PV}" == 99999999 ]] ; then -- cgit v1.2.3-65-gdbad