From 5aeaa71344edcb190d2369b542f8c292ec78c5e7 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 11 Nov 2016 21:37:02 +0100 Subject: sys-devel/clang: Avoid cross-phase function calls, #596644 --- sys-devel/clang/clang-9999.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys-devel/clang') diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild index 62a885c892b4..50c0f84491f7 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 } -- cgit v1.2.3-65-gdbad