commit: 5aeaa71344edcb190d2369b542f8c292ec78c5e7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 11 20:37:02 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 07:52:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aeaa713
sys-devel/clang: Avoid cross-phase function calls, #596644
sys-devel/clang/clang-9999.ebuild | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sys-devel/clang/clang-9999.ebuild
b/sys-devel/clang/clang-9999.ebuild
index 62a885c..50c0f84 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -62,7 +62,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
# Therefore: use sys-devel/clang[${MULTILIB_USEDEP}] only if you need
# multilib clang* libraries (not runtime, not wrappers).
-pkg_pretend() {
+check_space() {
local build_size=650
if use debug; then
@@ -87,8 +87,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
+pkg_pretend() {
+ check_space
+}
+
pkg_setup() {
- pkg_pretend
+ check_space
python-single-r1_pkg_setup
}