net-libs/gupnp-igd: fix sandbox issues, bug #587552
authorGilles Dartiguelongue <eva@gentoo.org>
Tue, 13 Sep 2016 21:26:44 +0000 (23:26 +0200)
committerGilles Dartiguelongue <eva@gentoo.org>
Tue, 13 Sep 2016 21:29:08 +0000 (23:29 +0200)
net-libs/gupnp-igd/gupnp-igd-0.2.4.ebuild

index ea10dcea6bab4ec81fad1703a451ec42c4091879..12ba0467e02ab5ee8e2ec9567c476132eb385fe0 100644 (file)
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 AUTOTOOLS_AUTORECONF=true
 
-inherit eutils gnome.org python-r1 multilib-minimal
+inherit eutils gnome.org python-r1 multilib-minimal xdg-utils
 
 DESCRIPTION="Library to handle UPnP IGD port mapping for GUPnP"
 HOMEPAGE="http://gupnp.org"
@@ -40,6 +40,8 @@ PATCHES=(
 )
 
 multilib_src_configure() {
+       xdg_environment_reset
+
        local myconf=(
                --disable-static
                --disable-gtk-doc