dev-perl/Glib-Object-Introspection: fix sandbox issue (bug #599128)
authorSergiy Borodych <Sergiy.Borodych@gmail.com>
Mon, 7 Nov 2016 12:39:57 +0000 (14:39 +0200)
committerDavid Seifert <soap@gentoo.org>
Mon, 7 Nov 2016 20:34:21 +0000 (21:34 +0100)
Closes: https://github.com/gentoo/gentoo/pull/2770

Signed-off-by: David Seifert <soap@gentoo.org>
dev-perl/Glib-Object-Introspection/Glib-Object-Introspection-0.40.0.ebuild

index 098e06451df146c3ca210552d4f3b0e776e7cd4d..cfb03631398456fe5d997fd85063294a01f7b205 100644 (file)
@@ -6,7 +6,7 @@ EAPI=6
 
 DIST_AUTHOR=XAOC
 DIST_VERSION=0.040
-inherit perl-module
+inherit perl-module xdg-utils
 
 DESCRIPTION="Dynamically create Perl language bindings"
 
@@ -26,3 +26,7 @@ DEPEND="
        >=dev-perl/extutils-pkgconfig-1.0.0
        ${RDEPEND}
 "
+
+pkg_setup() {
+       xdg_environment_reset   # bug #599128
+}