diff options
author | 2024-02-11 14:37:34 -0500 | |
---|---|---|
committer | 2024-02-28 15:26:27 +0000 | |
commit | d97e2b6f2438d5b03262ba2c66aff3a49595e4dd (patch) | |
tree | 6206fc645b286c8e12d7bd3be1ee0f9dd9fc1416 /net-libs/miniupnpc | |
parent | dev-build/meson: drop old (diff) | |
download | gentoo-d97e2b6f2438d5b03262ba2c66aff3a49595e4dd.tar.gz gentoo-d97e2b6f2438d5b03262ba2c66aff3a49595e4dd.tar.bz2 gentoo-d97e2b6f2438d5b03262ba2c66aff3a49595e4dd.zip |
net-libs/miniupnpc: drop "ipv6" use flag that is not needed
As recently noted in metadata.xml, this USE flag is used to disable test
dependencies that may hang. But since 2017 / version 2.1, this has been
checked at test time by seeing whether ifconfig (and later, ip addr)
report ipv6 support:
https://github.com/miniupnp/miniupnp/commit/b4bbee1df9b9c7c27751fc18a88afb74ada0f4b1
It's not necessary anymore to manually set this. And, perhaps all along
this should have been a src_test probe instead of a USE flag.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/miniupnpc')
-rw-r--r-- | net-libs/miniupnpc/metadata.xml | 3 | ||||
-rw-r--r-- | net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/net-libs/miniupnpc/metadata.xml b/net-libs/miniupnpc/metadata.xml index 4f701bfb3aff..c89549110c7c 100644 --- a/net-libs/miniupnpc/metadata.xml +++ b/net-libs/miniupnpc/metadata.xml @@ -8,7 +8,4 @@ <upstream> <remote-id type="github">miniupnp/miniupnp</remote-id> </upstream> - <use> - <flag name="ipv6">Run tests requiring IPv6-enabled kernel.</flag> - </use> </pkgmetadata> diff --git a/net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild index fc26588ea5ba..8f58e1fc3ffd 100644 --- a/net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild +++ b/net-libs/miniupnpc/miniupnpc-2.2.6-r1.ebuild @@ -21,7 +21,6 @@ SRC_URI=" LICENSE="BSD" SLOT="0/17" KEYWORDS="amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="ipv6" BDEPEND=" kernel_linux? ( sys-apps/lsb-release ) @@ -57,7 +56,7 @@ src_compile() { } src_test() { - emake -j1 HAVE_IPV6=$(usex ipv6) check + emake -j1 check } src_install() { |