summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index 208685946..9b5931181 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -65,7 +65,8 @@ if sys.hexversion >= 0x3000000:
def action_build(settings, trees, mtimedb,
myopts, myaction, myfiles, spinner):
- old_tree_timestamp_warn(settings['PORTDIR'], settings)
+ if '--usepkgonly' not in myopts:
+ old_tree_timestamp_warn(settings['PORTDIR'], settings)
# validate the state of the resume data
# so that we can make assumptions later.