summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-12-02 19:30:50 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-12-06 12:41:05 +0100
commitbc837d7bdfa90ace4c127f9c6d27384f59b44f8a (patch)
treec3dcaf9d7e3d7167ef3221dabad2f496c98fddf0 /eclass
parentapp-portage/tatt: version bump 0.5 (diff)
downloadgentoo-bc837d7bdfa90ace4c127f9c6d27384f59b44f8a.tar.gz
gentoo-bc837d7bdfa90ace4c127f9c6d27384f59b44f8a.tar.bz2
gentoo-bc837d7bdfa90ace4c127f9c6d27384f59b44f8a.zip
cmake-utils.eclass: Use xdg_environment_reset from xdg-utils.eclass
Closes: https://bugs.gentoo.org/639460
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake-utils.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass
index 28b29eb3f0f9..7b12a6e7d7f3 100644
--- a/eclass/cmake-utils.eclass
+++ b/eclass/cmake-utils.eclass
@@ -110,7 +110,7 @@ case ${EAPI} in
esac
inherit toolchain-funcs multilib ninja-utils flag-o-matic eutils \
- multiprocessing versionator
+ multiprocessing versionator xdg-utils
EXPORT_FUNCTIONS src_prepare src_configure src_compile src_test src_install
@@ -491,7 +491,7 @@ cmake-utils_src_configure() {
_cmake_check_build_dir
# Fix xdg collision with sandbox
- local -x XDG_CONFIG_HOME="${T}"
+ xdg_environment_reset
# @SEE CMAKE_BUILD_TYPE
if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then