projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3484117
)
cmake-utils.eclass: declare some variables local
author
Michael Palimaka
<kensington@gentoo.org>
Mon, 25 Jan 2016 14:04:09 +0000
(
01:04
+1100)
committer
Michael Palimaka
<kensington@gentoo.org>
Mon, 25 Jan 2016 14:07:03 +0000
(
01:07
+1100)
Prevents them from spanning multilibs.
Gentoo-bug: 513170
eclass/cmake-utils.eclass
patch
|
blob
|
history
diff --git
a/eclass/cmake-utils.eclass
b/eclass/cmake-utils.eclass
index ce4708688f2a5555b21bdb69ce427975cb6b063b..b0e9bb0213271e232e1e2a91ac44437161715859 100644
(file)
--- a/
eclass/cmake-utils.eclass
+++ b/
eclass/cmake-utils.eclass
@@
-449,7
+449,7
@@
enable_cmake-utils_src_configure() {
_modify-cmakelists
# Fix xdg collision with sandbox
-
export
XDG_CONFIG_HOME="${T}"
+
local -x
XDG_CONFIG_HOME="${T}"
# @SEE CMAKE_BUILD_TYPE
if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then
@@
-520,7
+520,7
@@
enable_cmake-utils_src_configure() {
fi
fi
- has "${EAPI:-0}" 0 1 2 && ! use prefix && EPREFIX=
+ has "${EAPI:-0}" 0 1 2 && ! use prefix &&
local
EPREFIX=
if [[ ${EPREFIX} ]]; then
cat >> "${build_rules}" <<- _EOF_ || die