commit:     324522b51aefdbad70ff7e5c3a1a8beb3698519a
Author:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 13 02:05:27 2020 +0000
Commit:     Erik Mackdanz <stasibear <AT> gentoo <DOT> org>
CommitDate: Fri Nov 13 02:05:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=324522b5

net-libs/libnpupnp: Enable remaining flags, none are really optional

Signed-off-by: Erik Mackdanz <stasibear <AT> gentoo.org>
Closes: https://bugs.gentoo.org/754177
Closes: https://bugs.gentoo.org/754198
Package-Manager: Portage-3.0.9, Repoman-3.0.2

 net-libs/libnpupnp/libnpupnp-4.0.13.ebuild | 8 +++-----
 net-libs/libnpupnp/metadata.xml            | 6 ------
 2 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild 
b/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild
index 3715a21e36d..a00ee17059e 100644
--- a/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild
+++ b/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild
@@ -10,8 +10,6 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
 
-IUSE="client optssdp reuseaddr tools"
-
 RDEPEND="
        dev-libs/expat
        net-libs/libmicrohttpd
@@ -30,10 +28,10 @@ src_configure() {
                --enable-device \
                --enable-gena \
                --enable-ipv6 \
-               $(use_enable optssdp) \
-               $(use_enable reuseaddr) \
+               --enable-optssdp \
+               --enable-reuseaddr \
                --enable-soap \
                --enable-ssdp \
-               $(use_enable tools) \
+               --enable-tools \
                --enable-webserver
 }

diff --git a/net-libs/libnpupnp/metadata.xml b/net-libs/libnpupnp/metadata.xml
index cde7ea4d30b..d468735607a 100644
--- a/net-libs/libnpupnp/metadata.xml
+++ b/net-libs/libnpupnp/metadata.xml
@@ -11,10 +11,4 @@
     (a.k.a pupnp: Portable UPnP) to provide the base UPnP protocol
     functionality.
   </longdescription>
-  <use>
-    <flag name="client">control point code (client)</flag>
-    <flag name="optssdp">optional SSDP headers support</flag>
-    <flag name="reuseaddr">bind the miniserver socket with reuseaddr</flag>
-    <flag name="tools">helper APIs in upnptools.h</flag>
-  </use>
 </pkgmetadata>

Reply via email to