From d1798083a2a89196960d9fde2d053cab9f6f991b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 8 Jul 2017 14:17:56 +0100 Subject: [PATCH] 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 --- dev-lang/ghc/ghc-8.0.2.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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="*" -- 2.26.2