From f0cf5a75c49cc238be932e28e25a203ebbb42ce2 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 13 Apr 2009 21:21:53 +0000 Subject: 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 --- pym/portage/__init__.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22