commit:     5d31c9001a6fd44c9773f154aa474674b95f2484
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  4 18:28:19 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Oct  4 18:28:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d31c900

net-libs/libupnp: enable tools always

As 'tools' only install additional header files, make them always
enabled and drop tools use flag.

Closes: https://bugs.gentoo.org/816267
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-libs/libupnp/libupnp-1.14.12.ebuild | 4 +---
 net-libs/libupnp/metadata.xml           | 1 -
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/net-libs/libupnp/libupnp-1.14.12.ebuild 
b/net-libs/libupnp/libupnp-1.14.12.ebuild
index bf7e8751ae6..5eac7976b3d 100644
--- a/net-libs/libupnp/libupnp-1.14.12.ebuild
+++ b/net-libs/libupnp/libupnp-1.14.12.ebuild
@@ -15,8 +15,7 @@ S="${WORKDIR}/${MY_PN}-release-${PV}"
 LICENSE="BSD"
 SLOT="0/17"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux"
-IUSE="blocking-tcp debug doc +ipv6 +reuseaddr samples +ssl static-libs tools"
-REQUIRED_USE="samples? ( tools )"
+IUSE="blocking-tcp debug doc +ipv6 +reuseaddr samples +ssl static-libs"
 
 RDEPEND="ssl? ( dev-libs/openssl:0= )"
 DEPEND="${RDEPEND}"
@@ -38,7 +37,6 @@ src_configure() {
                $(use_enable samples)
                $(use_enable ssl open_ssl)
                $(use_enable static-libs static)
-               $(use_enable tools)
        )
 
        econf ${myeconfargs[@]}

diff --git a/net-libs/libupnp/metadata.xml b/net-libs/libupnp/metadata.xml
index f11aa55da64..ba0bdd2e5c8 100644
--- a/net-libs/libupnp/metadata.xml
+++ b/net-libs/libupnp/metadata.xml
@@ -16,6 +16,5 @@
                <flag name="blocking-tcp">Do not use async socket calls</flag>
                <flag name="reuseaddr">Allow clean restarts by binding the 
socket with SO_REUSEADDR</flag>
                <flag name="samples">Install sample applications</flag>
-               <flag name="tools">Install additional tools</flag>
        </use>
 </pkgmetadata>

Reply via email to