From: Sergei Trofimovich Date: Sat, 8 Jul 2017 13:17:56 +0000 (+0100) Subject: dev-lang/ghc: fix check-reqs usage X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d1798083a2a89196960d9fde2d053cab9f6f991b;p=gentoo.git dev-lang/ghc: fix check-reqs usage Apparently pkg_pretend / pkg_setup don't share global environment. Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- diff --git a/dev-lang/ghc/ghc-8.0.2.ebuild b/dev-lang/ghc/ghc-8.0.2.ebuild index 4ba077cf90b9..1fd964ad3149 100644 --- a/dev-lang/ghc/ghc-8.0.2.ebuild +++ b/dev-lang/ghc/ghc-8.0.2.ebuild @@ -327,7 +327,7 @@ relocate_ghc() { rm "$gp_back" } -pkg_pretend() { +ghc-check-reqs() { # These are pessimistic values (slightly bigger than worst-case) # Worst case is UNREG USE=profile ia64. See bug #611866 for some # numbers on various arches. @@ -336,11 +336,15 @@ pkg_pretend() { # USE=binary roughly takes use binary && CHECKREQS_DISK_BUILD=4G - check-reqs_pkg_pretend + "$@" +} + +pkg_pretend() { + ghc-check-reqs check-reqs_pkg_pretend } pkg_setup() { - check-reqs_pkg_setup + ghc-check-reqs check-reqs_pkg_setup # quiet portage about prebuilt binaries use binary && QA_PREBUILT="*"