app-text/poppler: Fix build issues with XDG vars also in stable
authorPacho Ramos <pacho@gentoo.org>
Sun, 28 Feb 2016 10:51:05 +0000 (11:51 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sun, 28 Feb 2016 11:08:34 +0000 (12:08 +0100)
Package-Manager: portage-2.2.27

app-text/poppler/poppler-0.32.0.ebuild

index 28e9680530c2ceb1a684a1611d54bfe7c80b09dd..8fafd3bca9227442c54375cb2364cb9bcbea496a 100644 (file)
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit cmake-utils toolchain-funcs
+inherit cmake-utils toolchain-funcs xdg-utils
 
 if [[ "${PV}" == "9999" ]] ; then
        inherit git-r3
@@ -66,6 +66,7 @@ PATCHES=(
        "${FILESDIR}/${PN}-0.28.1-fix-multilib-configuration.patch" )
 
 src_configure() {
+       xdg_environment_reset
        local mycmakeargs=(
                -DBUILD_GTK_TESTS=OFF
                -DBUILD_QT4_TESTS=OFF