summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-11-11 21:37:02 +0100
committerMichał Górny <mgorny@gentoo.org>2016-11-12 08:52:09 +0100
commit5aeaa71344edcb190d2369b542f8c292ec78c5e7 (patch)
treedd8a3322515d5fdab247b961049372d55d15a8b2 /sys-devel
parentsys-devel/llvm: Avoid cross-phase function calls, #596644 (diff)
downloadgentoo-5aeaa71344edcb190d2369b542f8c292ec78c5e7.tar.gz
gentoo-5aeaa71344edcb190d2369b542f8c292ec78c5e7.tar.bz2
gentoo-5aeaa71344edcb190d2369b542f8c292ec78c5e7.zip
sys-devel/clang: Avoid cross-phase function calls, #596644
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/clang/clang-9999.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-devel/clang/clang-9999.ebuild b/sys-devel/clang/clang-9999.ebuild
index 62a885c892b..50c0f84491f 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
}