python thinks userland="", and the profiles can do this much better than
I can in python.
svn path=/main/branches/prefix/; revision=6337
lchown = None
os.environ["XARGS"]="xargs -r"
-# default userland is GNU ...
-userland="GNU"
-# ... but BSD in non-prefix has BSD userland
-if EPREFIX == "" and (ostype.endswith("BSD") or ostype =="DragonFly"):
- userland="BSD"
# "fix" for lchown on Darwin
if ostype == "Darwin":
" exist. Please rebuild python.\n", noiselevel=-1)
lchown()
-os.environ["USERLAND"]=userland
-
def portage_group_warning():
warn_prefix = bad("*** WARNING *** ")
mylines = [