Apparently pkg_pretend / pkg_setup don't share global environment.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
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.
# 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="*"