summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-11-11 21:35:46 +0100
committerMichał Górny <mgorny@gentoo.org>2016-11-12 08:52:07 +0100
commit5124eaefca18169b27a4e8461f72e2a8783536d3 (patch)
treed46ad57c54f4cf7a0313b59be14c3c859767be7f /sys-devel/llvm/llvm-3.8.1-r2.ebuild
parentnet-p2p/gtk-gnutella: add 1.1.11 (diff)
downloadgentoo-5124eaefca18169b27a4e8461f72e2a8783536d3.tar.gz
gentoo-5124eaefca18169b27a4e8461f72e2a8783536d3.tar.bz2
gentoo-5124eaefca18169b27a4e8461f72e2a8783536d3.zip
sys-devel/llvm: Avoid cross-phase function calls, #596644
Diffstat (limited to 'sys-devel/llvm/llvm-3.8.1-r2.ebuild')
-rw-r--r--sys-devel/llvm/llvm-3.8.1-r2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys-devel/llvm/llvm-3.8.1-r2.ebuild b/sys-devel/llvm/llvm-3.8.1-r2.ebuild
index fed4c4eafbd3..439485f9cb71 100644
--- a/sys-devel/llvm/llvm-3.8.1-r2.ebuild
+++ b/sys-devel/llvm/llvm-3.8.1-r2.ebuild
@@ -89,7 +89,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
S=${WORKDIR}/${P/_}.src
-pkg_pretend() {
+check_space() {
# in megs
# !clang !debug !multitarget -O2 400
# !clang !debug multitarget -O2 550
@@ -125,8 +125,12 @@ pkg_pretend() {
check-reqs_pkg_pretend
}
+pkg_pretend() {
+ check_space
+}
+
pkg_setup() {
- pkg_pretend
+ check_space
}
src_unpack() {