Solaris has its own userland.
authorFabian Groffen <grobian@gentoo.org>
Fri, 13 Oct 2006 17:34:25 +0000 (17:34 -0000)
committerFabian Groffen <grobian@gentoo.org>
Fri, 13 Oct 2006 17:34:25 +0000 (17:34 -0000)
svn path=/main/branches/prefix/; revision=4671

pym/portage_data.py

index 4252821c8e1bc6f6ceb5c16109ec27e9bef6519a..7f07c824c088c4084bfe4ffc406a996c844854b5 100644 (file)
@@ -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: