x11-wm/stumpwm: Reset xdg environment
authorJosé María Alonso Josa <nimiux@gentoo.org>
Thu, 16 Jun 2016 10:54:03 +0000 (12:54 +0200)
committerJosé María Alonso Josa <nimiux@gentoo.org>
Thu, 16 Jun 2016 10:54:20 +0000 (12:54 +0200)
Fixes bug #585852

Package-Manager: portage-2.2.28

x11-wm/stumpwm/stumpwm-0.9.9.ebuild
x11-wm/stumpwm/stumpwm-9999.ebuild

index ef3ef84dbb2c43cb37d74e3d457abc36f00e8311..3400b1298dfa2778a76793e4a28aa576ba2145ab 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit common-lisp-3 eutils elisp-common autotools
+inherit autotools common-lisp-3 eutils elisp-common xdg-utils
 
 DESCRIPTION="Stumpwm is a Window Manager written entirely in Common Lisp."
 HOMEPAGE="https://stumpwm.github.io/"
@@ -72,6 +72,7 @@ src_prepare() {
 src_configure() {
        local moduleconfig
 
+       xdg_environment_reset
        use contrib && moduleconfig="--with-module-dir=${CONTRIBDIR}/contrib"
        econf --with-lisp=$(get_lisp sbcl clisp ecl) "${moduleconfig}"
 }
index a76acd4bb6a3c9843fa4ff9c0d0872098b8abcb4..0775f884a99041836d3c3948923c9574465a63c1 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit autotools common-lisp-3 git-2
+inherit autotools common-lisp-3 git-2 xdg-utils
 
 DESCRIPTION="Stumpwm is a Window Manager written entirely in Common Lisp."
 HOMEPAGE="https://stumpwm.github.io/"
@@ -38,6 +38,10 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       xdg_environment_reset
+}
+
 src_compile() {
        emake -j1
 }