summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-10 18:17:36 +0100
committerSam James <sam@gentoo.org>2021-09-10 18:17:36 +0100
commitb88892c8d906c8bf491a8d9cf8fd7ddde1251700 (patch)
tree6bfc1fe62d3009bbbc6af7e842c6eb7113693c5b /net-misc/iputils/iputils-99999999.ebuild
parentdev-python/jupyter_server_mathjax: enable py3.10, fix tests (diff)
downloadgentoo-b88892c8d906c8bf491a8d9cf8fd7ddde1251700.tar.gz
gentoo-b88892c8d906c8bf491a8d9cf8fd7ddde1251700.tar.bz2
gentoo-b88892c8d906c8bf491a8d9cf8fd7ddde1251700.zip
net-misc/iputils: make tests conditional
Closes: https://bugs.gentoo.org/807973 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/iputils/iputils-99999999.ebuild')
-rw-r--r--net-misc/iputils/iputils-99999999.ebuild5
1 files changed, 4 insertions, 1 deletions
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