summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/EbuildFetcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py
index cf2319b01..58e4640f7 100644
--- a/pym/_emerge/EbuildFetcher.py
+++ b/pym/_emerge/EbuildFetcher.py
@@ -91,7 +91,7 @@ class EbuildFetcher(SpawnProcess):
distdir = settings["DISTDIR"]
use = None
if not self.fetchall:
- use = frozenset(settings["PORTAGE_USE"].split())
+ use = self.pkg.use.enabled
try:
uri_map = portdb.getFetchMap(self.pkg.cpv,