From 24a802e8e60eef93cbbe020ddf985c6549f58382 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Fri, 13 Oct 2006 17:34:25 +0000 Subject: [PATCH] Solaris has its own userland. svn path=/main/branches/prefix/; revision=4671 --- pym/portage_data.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pym/portage_data.py b/pym/portage_data.py index 4252821c8..7f07c824c 100644 --- a/pym/portage_data.py +++ b/pym/portage_data.py @@ -20,10 +20,14 @@ elif ostype == "Darwin": os.environ["XARGS"]="xargs" def lchown(*pos_args, **key_args): pass +elif ostype == "SunOS": + userland="Solaris" + os.environ["XARGS"]="xargs" + elif ostype.endswith("BSD") or ostype =="DragonFly": userland="BSD" os.environ["XARGS"]="xargs" -elif ostype in ["BeOS","Haiku","HP-UX","SunOS"]: +elif ostype in ["BeOS","Haiku","HP-UX"]: userland="GNU" os.environ["XARGS"]="xargs" else: -- 2.26.2