Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/iputils/
Date: Wed, 11 May 2022 18:52:45
Message-Id: 1652294755.05da34ff3ebc7ae2783fd20ddf11f6b914fc94f8.floppym@gentoo
1 commit: 05da34ff3ebc7ae2783fd20ddf11f6b914fc94f8
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 11 18:45:55 2022 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Wed May 11 18:45:55 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05da34ff
7
8 net-misc/iputils: drop 'static' USE flag
9
10 There does not seem to be any compelling reason to link these tools
11 staticly.
12
13 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
14
15 net-misc/iputils/iputils-99999999.ebuild | 14 +++++---------
16 1 file changed, 5 insertions(+), 9 deletions(-)
17
18 diff --git a/net-misc/iputils/iputils-99999999.ebuild b/net-misc/iputils/iputils-99999999.ebuild
19 index e94679e43431..2b9db94847ff 100644
20 --- a/net-misc/iputils/iputils-99999999.ebuild
21 +++ b/net-misc/iputils/iputils-99999999.ebuild
22 @@ -29,19 +29,17 @@ HOMEPAGE="https://wiki.linuxfoundation.org/networking/iputils"
23
24 LICENSE="BSD GPL-2+ rdisc"
25 SLOT="0"
26 -IUSE="+arping caps clockdiff doc idn nls static test tracepath"
27 +IUSE="+arping caps clockdiff doc idn nls test tracepath"
28 RESTRICT="!test? ( test )"
29
30 -LIB_DEPEND="
31 - caps? ( sys-libs/libcap[static-libs(+)] )
32 - idn? ( net-dns/libidn2:=[static-libs(+)] )
33 - nls? ( virtual/libintl[static-libs(+)] )
34 +RDEPEND="
35 + caps? ( sys-libs/libcap )
36 + idn? ( net-dns/libidn2:= )
37 + nls? ( virtual/libintl )
38 "
39 -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
40 DEPEND="
41 ${RDEPEND}
42 virtual/os-headers
43 - static? ( ${LIB_DEPEND} )
44 "
45 BDEPEND="
46 virtual/pkgconfig
47 @@ -66,8 +64,6 @@ src_prepare() {
48 }
49
50 src_configure() {
51 - use static && append-ldflags -static
52 -
53 local emesonargs=(
54 -DUSE_CAP=$(usex caps true false)
55 -DUSE_IDN=$(usex idn true false)