summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/data.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index a3dbfb885..5fc811e43 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -19,6 +19,10 @@ else:
lchown = getattr(os, "lchown", None)
if not lchown:
+ if ostype == "Darwin":
+ def lchown(*pos_args, **key_args):
+ pass
+ else:
try:
import missingos
lchown = missingos.lchown