Fix FEATURES=no{doc,info,man} for bug #403181
authorZac Medico <zmedico@gentoo.org>
Sat, 11 Feb 2012 18:46:00 +0000 (10:46 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 11 Feb 2012 18:46:00 +0000 (10:46 -0800)
This has been broken since commit
93b654199a32fc3df1299b030317720b9294b0c3.

pym/portage/dbapi/vartree.py

index c504e5ca402d0685254bb3d709f4c8d7a03dbb54..a86170c1ab0787c229c2cbf8010340e42f247aba 100644 (file)
@@ -3381,7 +3381,10 @@ class dblink(object):
                                        max_dblnk = dblnk
                        self._installed_instance = max_dblnk
 
-               if self.settings.get("INSTALL_MASK"):
+               if self.settings.get("INSTALL_MASK") or \
+                       "nodoc" in self.settings.features or \
+                       "noinfo" in self.settings.features or \
+                       "noman" in self.settings.features:
                        # Apply INSTALL_MASK before collision-protect, since it may
                        # be useful to avoid collisions in some scenarios.
                        phase = MiscFunctionsProcess(background=False,