summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-13 21:21:53 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-13 21:21:53 +0000
commitf0cf5a75c49cc238be932e28e25a203ebbb42ce2 (patch)
treebee6605aeb2356e1a2135ed5914cd5cf128d4f37 /pym
parentdbf94573a662bebf68d0782a7ee01557820f54ec (diff)
downloadportage-f0cf5a75c49cc238be932e28e25a203ebbb42ce2.tar.gz
portage-f0cf5a75c49cc238be932e28e25a203ebbb42ce2.tar.bz2
portage-f0cf5a75c49cc238be932e28e25a203ebbb42ce2.zip
Make portage.bsd_chflags correspond to FEATURES=chflags so that it can be
used for related conditionals in shell code. svn path=/main/trunk/; revision=13342
Diffstat (limited to 'pym')
-rw-r--r--pym/portage/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index a658f90a3..520eb61d8 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -1842,6 +1842,9 @@ class config(object):
if "usersandbox" in self.features:
self.features.remove("usersandbox")
+ if bsd_chflags:
+ self.features.add('chflags')
+
self["FEATURES"] = " ".join(sorted(self.features))
self.backup_changes("FEATURES")
global _glep_55_enabled, _validate_cache_for_unsupported_eapis