From c32a0b73f787f8c45ddda05eb4ddf4c02dfaf397 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Mon, 13 Jul 2009 12:06:33 +0200 Subject: [PATCH] [entropy.spm] add more comments on portage.doebuild --- libraries/entropy/spm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/entropy/spm.py b/libraries/entropy/spm.py index bb3c04658..f5ab771da 100644 --- a/libraries/entropy/spm.py +++ b/libraries/entropy/spm.py @@ -1613,8 +1613,12 @@ class PortagePlugin: # find config mysettings = self._get_portage_config("/",mypath) mysettings['EBUILD_PHASE'] = mydo + # crappy, broken, ebuilds, put accept_license eutils call # in pkg_setup, when environment variables are not setup yet + # WARNING WARNING WARNING: + # if some other hook fails for other reasons, it's because + # it may miss env variable here. mysettings['LICENSE'] = str(' '.join(licenses)) if licenses: # we already do this early