summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2020-11-12 10:45:38 -0600
committerErik Mackdanz <stasibear@gentoo.org>2020-11-12 10:45:38 -0600
commitc44e53ee53d80ad5e78dfe63f959f278ee441b09 (patch)
tree9584df44a1ef91fb158c806e899d2e7a69881a6f /net-libs
parentdev-db/mariadb: Stabilize 10.2.22-r3 ppc, #722782 (diff)
downloadgentoo-c44e53ee53d80ad5e78dfe63f959f278ee441b09.tar.gz
gentoo-c44e53ee53d80ad5e78dfe63f959f278ee441b09.tar.bz2
gentoo-c44e53ee53d80ad5e78dfe63f959f278ee441b09.zip
net-libs/libnpupnp: Constrain USE to minimal working set
Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> Closes: https://bugs.gentoo.org/754135 Package-Manager: Portage-3.0.9, Repoman-3.0.2
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libnpupnp/libnpupnp-4.0.13.ebuild18
-rw-r--r--net-libs/libnpupnp/metadata.xml16
2 files changed, 9 insertions, 25 deletions
diff --git a/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild b/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild
index 80a418d16497..3715a21e36d3 100644
--- a/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild
+++ b/net-libs/libnpupnp/libnpupnp-4.0.13.ebuild
@@ -10,7 +10,7 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="client debug device gena ipv6 optssdp reuseaddr soap ssdp tools webserver"
+IUSE="client optssdp reuseaddr tools"
RDEPEND="
dev-libs/expat
@@ -25,15 +25,15 @@ src_prepare() {
src_configure() {
econf \
- $(use_enable client) \
- $(use_enable debug) \
- $(use_enable device) \
- $(use_enable gena) \
- $(use_enable ipv6) \
+ --enable-client \
+ --enable-debug \
+ --enable-device \
+ --enable-gena \
+ --enable-ipv6 \
$(use_enable optssdp) \
$(use_enable reuseaddr) \
- $(use_enable soap) \
- $(use_enable ssdp) \
+ --enable-soap \
+ --enable-ssdp \
$(use_enable tools) \
- $(use_enable webserver)
+ --enable-webserver
}
diff --git a/net-libs/libnpupnp/metadata.xml b/net-libs/libnpupnp/metadata.xml
index 63aca78f5079..cde7ea4d30b5 100644
--- a/net-libs/libnpupnp/metadata.xml
+++ b/net-libs/libnpupnp/metadata.xml
@@ -1,16 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<!--
- This is the example metadata file.
- The root element of this file is <pkgmetadata>. Within this element a
- number of subelements are allowed, the most common being maintainer.
-
- For a full description look at:
- https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
-
- Before committing, please remove the comments from this file. They are
- not relevant for general metadata.xml files.
--->
<pkgmetadata>
<maintainer type="person">
<email>stasibear@gentoo.org</email>
@@ -24,13 +13,8 @@
</longdescription>
<use>
<flag name="client">control point code (client)</flag>
- <flag name="device">device specific code (implies -webserver if disabled)</flag>
- <flag name="gena">GENA part</flag>
<flag name="optssdp">optional SSDP headers support</flag>
<flag name="reuseaddr">bind the miniserver socket with reuseaddr</flag>
- <flag name="soap">SOAP part</flag>
- <flag name="ssdp">SSDP part</flag>
<flag name="tools">helper APIs in upnptools.h</flag>
- <flag name="webserver">integrated web server</flag>
</use>
</pkgmetadata>